IDbCommandInterceptor.NonQueryExecuting Method

Definition

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

public void NonQueryExecuting (System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> interceptionContext);
abstract member NonQueryExecuting : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> -> unit
Public Sub NonQueryExecuting (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Integer))

Parameters

command
DbCommand

The command being executed.

interceptionContext
DbCommandInterceptionContext<Int32>

Contextual information associated with the call.

Applies to