Partager via


DatabaseLogFormatter.NonQueryExecuted Méthode

Définition

Cette méthode est appelée après un appel à ou à ExecuteNonQuery() l’un de ses équivalents asynchrones. L’implémentation par défaut arrête le chronomètre retourné par GetStopwatch(DbCommandInterceptionContext) et appelle 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))

Paramètres

command
DbCommand

Commande en cours d’exécution.

interceptionContext
DbCommandInterceptionContext<Int32>

Informations contextuelles associées à l’appel.

Implémente

S’applique à