DbConnectionDispatcher.Dispose(DbConnection, DbInterceptionContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
有关所执行调用上下文的可选信息。