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