Dispose of a used IDbConnection

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

Syntax

C#
void CloseConnection(
	IDbConnection conn
)
Visual Basic
Sub CloseConnection ( _
	conn As IDbConnection _
)
Visual C++
void CloseConnection(
	IDbConnection^ conn
)

Parameters

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

See Also