DbConnectionDispatcher.Close(DbConnection, DbInterceptionContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public virtual void Close (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbInterceptionContext interceptionContext);
abstract member Close : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
override this.Close : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
Public Overridable Sub Close (connection As DbConnection, interceptionContext As DbInterceptionContext)
参数
- connection
- DbConnection
将对其执行操作的连接。
- interceptionContext
- DbInterceptionContext
有关所执行调用上下文的可选信息。