DatabaseLogFormatter.Disposed 方法

定义

重载

Disposed(DbConnection, DbConnectionInterceptionContext)

除非重写,否则不会写入日志。

Disposed(DbTransaction, DbTransactionInterceptionContext)

除非重写,否则不会写入日志。

Disposed(DbConnection, DbConnectionInterceptionContext)

除非重写,否则不会写入日志。

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

参数

connection
DbConnection

已释放的连接。

interceptionContext
DbConnectionInterceptionContext

与调用关联的上下文信息。

实现

适用于

Disposed(DbTransaction, DbTransactionInterceptionContext)

除非重写,否则不会写入日志。

public virtual void Disposed (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext interceptionContext);
abstract member Disposed : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
override this.Disposed : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
Public Overridable Sub Disposed (transaction As DbTransaction, interceptionContext As DbTransactionInterceptionContext)

参数

transaction
DbTransaction

已释放的事务。

interceptionContext
DbTransactionInterceptionContext

与调用关联的上下文信息。

实现

适用于