Condividi tramite


IDbCommandInterceptor.ScalarExecuting Metodo

Definizione

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

public 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
Public Sub ScalarExecuting (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Object))

Parametri

command
DbCommand

Comando in esecuzione.

interceptionContext
DbCommandInterceptionContext<Object>

Informazioni contestuali associate alla chiamata.

Si applica a