Поделиться через


IDbCommandInterceptor.ScalarExecuting Метод

Определение

Этот метод вызывается перед вызовом ExecuteScalar() или одним из его асинхронных аналогов.

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

Параметры

command
DbCommand

Выполняемая команда.

interceptionContext
DbCommandInterceptionContext<Object>

Контекстная информация, связанная с вызовом.

Применяется к