Sprache

DatabaseLogFormatter.ScalarExecuting Methode

Definition

Diese Methode wird aufgerufen, bevor ein Aufruf oder ExecuteScalar() eines seiner asynchronen Entsprechungen erfolgt. Die standardmäßigen Implementierungsaufrufe Executing<TResult>(DbCommand, DbCommandInterceptionContext<TResult>) und starten die von der Stopwatch zurückgegebene GetStopwatch(DbCommandInterceptionContext)Stoppuhr.

public virtual void ScalarExecuting(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<object> interceptionContext);
abstract member ScalarExecuting : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
override this.ScalarExecuting : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
Public Overridable Sub ScalarExecuting (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: