Condividi tramite


DbCommandInterceptor.ScalarExecuting Metodo

Definizione

Questo metodo viene chiamato prima di una chiamata a o una ExecuteScalar() delle relative controparti asincrone.

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

Parametri

command
DbCommand

Comando in esecuzione.

interceptionContext
DbCommandInterceptionContext<Object>

Informazioni contestuali associate alla chiamata.

Implementazioni

Si applica a