Closes and Disposes of the IDbConnection.

Namespace: NHibernate.Connection
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public override void CloseConnection(
	IDbConnection conn
)
Visual Basic
Public Overrides Sub CloseConnection ( _
	conn As IDbConnection _
)
Visual C++
public:
virtual void CloseConnection(
	IDbConnection^ conn
) override

Parameters

conn
Type: System.Data..::..IDbConnection
The IDbConnection to clean up.

Implements

IConnectionProvider..::..CloseConnection(IDbConnection)

See Also