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


IDbConnectionInterceptor.Opening Метод

Определение

Вызывается до Open() вызова или его асинхронного аналога.

public void Opening (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext interceptionContext);
abstract member Opening : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
Public Sub Opening (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext)

Параметры

connection
DbConnection

Открываемая связь.

interceptionContext
DbConnectionInterceptionContext

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

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