Compartir a través de


DbCommandInterceptor.ReaderExecuting Método

Definición

Se llama a este método antes de realizar una llamada a ExecuteReader(CommandBehavior) o a uno de sus homólogos asincrónicos.

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

Parámetros

command
DbCommand

Comando que se ejecuta.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Información contextual asociada a la llamada.

Implementaciones

Se aplica a