Method ReaderExecuting
ReaderExecuting(DbCommand, DbCommandInterceptionContext<DbDataReader>)
This method is called before a call to ExecuteReader(CommandBehavior) or one of its async counterparts is made.
Declaration
public void ReaderExecuting(DbCommand command, DbCommandInterceptionContext<DbDataReader> interceptionContext)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Common.DbCommand | command | The command being executed. |
DbCommandInterceptionContext<System.Data.Common.DbDataReader> | interceptionContext | Contextual information associated with the call. |