Share via


DbConnectionDispatcher.Close(DbConnection, DbInterceptionContext) Method

Definition

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)

Parameters

connection
DbConnection

The connection on which the operation will be executed.

interceptionContext
DbInterceptionContext

Optional information about the context of the call being made.

Applies to