Compartilhar via


DbCommandInterceptor.ScalarExecuting Método

Definição

Esse método é chamado antes que uma chamada para ExecuteScalar() ou uma de suas contrapartes assíncronas seja feita.

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

Parâmetros

command
DbCommand

O comando que está sendo executado.

interceptionContext
DbCommandInterceptionContext<Object>

Informações contextuais associadas à chamada.

Implementações

Aplica-se a