Sdílet prostřednictvím


DbCommandInterceptor.ReaderExecuted Metoda

Definice

Tato metoda je volána po volání ExecuteReader(CommandBehavior) nebo jeden z jejích asynchronních protějšků je proveden. Výsledek používaný rozhraním Entity Framework lze změnit nastavením Result.

public virtual void ReaderExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<System.Data.Common.DbDataReader> interceptionContext);
abstract member ReaderExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<System.Data.Common.DbDataReader> -> unit
override this.ReaderExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<System.Data.Common.DbDataReader> -> unit
Public Overridable Sub ReaderExecuted (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of DbDataReader))

Parametry

command
DbCommand

Spouští se příkaz.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Kontextové informace spojené s voláním

Implementuje

Platí pro