Condividi tramite


DatabaseLogFormatter.NonQueryExecuted Metodo

Definizione

Questo metodo viene chiamato dopo una chiamata a ExecuteNonQuery() 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 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))

Parametri

command
DbCommand

Comando in esecuzione.

interceptionContext
DbCommandInterceptionContext<Int32>

Informazioni contestuali associate alla chiamata.

Implementazioni

Si applica a