Reconnect to the given ADO.NET connection.

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

Syntax

C#
void Reconnect(
	IDbConnection connection
)
Visual Basic
Sub Reconnect ( _
	connection As IDbConnection _
)
Visual C++
void Reconnect(
	IDbConnection^ connection
)

Parameters

connection
Type: System.Data..::..IDbConnection
An ADO.NET connection

Remarks

This is used by applications which require long transactions

See Also