Partager via


DbCommandInterceptor.ScalarExecuting Méthode

Définition

Cette méthode est appelée avant qu’un appel à ExecuteScalar() ou l’un de ses équivalents asynchrones soit effectué.

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

Paramètres

command
DbCommand

Commande en cours d’exécution.

interceptionContext
DbCommandInterceptionContext<Object>

Informations contextuelles associées à l’appel.

Implémente

S’applique à