Condividi tramite


DatabaseLogFormatter.ScalarExecuted Metodo

Definizione

Questo metodo viene chiamato dopo una chiamata a ExecuteScalar() o una delle relative controparti asincrone. L'implementazione predefinita arresta il controllo di arresto restituito da GetStopwatch(DbCommandInterceptionContext) e chiama Executed<TResult>(DbCommand, DbCommandInterceptionContext<TResult>).

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))

Parametri

command
DbCommand

Comando in esecuzione.

interceptionContext
DbCommandInterceptionContext<Object>

Informazioni contestuali associate alla chiamata.

Implementazioni

Si applica a