DatabaseLogFormatter.NonQueryExecuted Methode

Definition

Diese Methode wird aufgerufen, ExecuteNonQuery() nachdem ein Aufruf oder eine ihrer asynchronen Entsprechungen erfolgt ist. Die Standardimplementierung beendet die von GetStopwatch(DbCommandInterceptionContext) zurückgegebene Stoppuhr und ruft auf 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))

Parameter

command
DbCommand

Der ausgeführte Befehl.

interceptionContext
DbCommandInterceptionContext<Int32>

Kontextinformationen, die dem Aufruf zugeordnet sind.

Implementiert

Gilt für: