Closes the IDbConnection.

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

Syntax

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

Parameters

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

Implements

IConnectionProvider..::..CloseConnection(IDbConnection)

See Also