Sprache

DatabaseLogFormatter.NonQueryExecuted Methode

Definition

Diese Methode wird aufgerufen, nachdem ein Aufruf oder ExecuteNonQuery() eines seiner asynchronen Entsprechungen erfolgt. Die Standardimplementierung stoppt die von GetStopwatch(DbCommandInterceptionContext) und aufrufen Executed<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)zurückgegebene Stoppuhr.

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 Befehl, der ausgeführt wird.

interceptionContext
DbCommandInterceptionContext<Int32>

Kontextbezogene Informationen, die dem Anruf zugeordnet sind.

Implementiert

Gilt für: