Udostępnij przez


IDbCommandInterceptor.ReaderExecuting Metoda

Definicja

Ta metoda jest wywoływana przed wywołaniem metody ExecuteReader(CommandBehavior) lub jednego z jej odpowiedników asynchronicznych.

public 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
Public Sub ReaderExecuting (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of DbDataReader))

Parametry

command
DbCommand

Wykonywane polecenie.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Informacje kontekstowe skojarzone z wywołaniem.

Dotyczy