Sprache

DatabaseLogFormatter.ScalarExecuted Methode

Definition

Diese Methode wird aufgerufen, nachdem ein Aufruf oder ExecuteScalar() 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 ScalarExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<object> interceptionContext);
abstract member ScalarExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
override this.ScalarExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
Public Overridable Sub ScalarExecuted (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Object))

Parameter

command
DbCommand

Der Befehl, der ausgeführt wird.

interceptionContext
DbCommandInterceptionContext<Object>

Kontextbezogene Informationen, die dem Anruf zugeordnet sind.

Implementiert

Gilt für: