Udostępnij przez


IDbCommandInterceptor.ScalarExecuting Metoda

Definicja

Ta metoda jest wywoływana przed wywołaniem metody ExecuteScalar() lub jednego z jej odpowiedników asynchronicznych.

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

Parametry

command
DbCommand

Wykonywane polecenie.

interceptionContext
DbCommandInterceptionContext<Object>

Informacje kontekstowe skojarzone z wywołaniem.

Dotyczy