DbConnectionDispatcher.Close(DbConnection, DbInterceptionContext) 方法

定义

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

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

适用于