DbConnectionDispatcher.Dispose(DbConnection, DbInterceptionContext) 方法

定义

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

参数

connection
DbConnection

将对其执行操作的连接。

interceptionContext
DbInterceptionContext

有关所执行调用上下文的可选信息。

适用于