Compartir a través de


DbCommandInterceptor.ReaderExecuted Método

Definición

Se llama a este método después de realizar una llamada a ExecuteReader(CommandBehavior) o a uno de sus homólogos asincrónicos. El resultado usado por Entity Framework se puede cambiar estableciendo 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))

Parámetros

command
DbCommand

Comando que se está ejecutando.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Información contextual asociada a la llamada.

Implementaciones

Se aplica a