Поделиться через


IDbCommandInterceptor.ReaderExecuting Метод

Определение

Этот метод вызывается перед вызовом ExecuteReader(CommandBehavior) или одним из его асинхронных аналогов.

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))

Параметры

command
DbCommand

Выполняемая команда.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Контекстная информация, связанная с вызовом.

Применяется к