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