Share via


DatabaseLogFormatter.NonQueryExecuted Method

Definition

This method is called after a call to ExecuteNonQuery() or one of its async counterparts is made. The default implementation stopsthe stopwatch returned from GetStopwatch(DbCommandInterceptionContext) and calls Executed<TResult>(DbCommand, DbCommandInterceptionContext<TResult>).

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

Parameters

command
DbCommand

The command being executed.

interceptionContext
DbCommandInterceptionContext<Int32>

Contextual information associated with the call.

Implements

Applies to