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


IDbConnectionInterceptor.Disposing Метод

Определение

Вызывается до Dispose() вызова .

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

Параметры

connection
DbConnection

Утилизируется подключение.

interceptionContext
DbConnectionInterceptionContext

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

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