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


DatabaseLogFormatter.Closed Метод

Определение

Вызывается после Close() вызова . Реализация этого метода по умолчанию фильтруется путем DbContext задания в Context, если таковой есть, а затем регистрирует событие.

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

Параметры

connection
DbConnection

Соединение, которое было закрыто.

interceptionContext
DbConnectionInterceptionContext

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

Реализации

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