Share via


IDbCommandInterceptor.ReaderExecuting Method

Definition

This method is called before a call to ExecuteReader(CommandBehavior) or one of its async counterparts is made.

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

Parameters

command
DbCommand

The command being executed.

interceptionContext
DbCommandInterceptionContext<DbDataReader>

Contextual information associated with the call.

Applies to