Compartilhar via


DbCommandInterceptor.ReaderExecuting Método

Definição

Esse método é chamado antes que uma chamada para ExecuteReader(CommandBehavior) ou uma de suas contrapartes assíncronas seja feita.

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

O comando que está sendo executado.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Informações contextuais associadas à chamada.

Implementações

Aplica-se a