Compartir a través de


DbCommandInterceptor.ScalarExecuting Método

Definición

Se llama a este método antes de realizar una llamada a ExecuteScalar() o a uno de sus homólogos asincrónicos.

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

Comando que se ejecuta.

interceptionContext
DbCommandInterceptionContext<Object>

Información contextual asociada a la llamada.

Implementaciones

Se aplica a