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


DatabaseLogFormatter.StateGot Метод

Определение

Не записывает данные в журнал, если не переопределен.

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

Параметры

connection
DbConnection

Соединение.

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

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

Реализации

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