DatabaseLogFormatter.NonQueryExecuted Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.