Begins the IDbTransaction on the IDbConnection used by the ISession.

Namespace:  NHibernate.Transaction
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Sub Begin ( _
	isolationLevel As IsolationLevel _
)
C#
public void Begin(
	IsolationLevel isolationLevel
)
Visual C++
public:
virtual void Begin(
	IsolationLevel isolationLevel
) sealed
JavaScript
function begin(isolationLevel);

Parameters

isolationLevel
Type: System.Data..::.IsolationLevel

Implements

ITransaction..::.Begin(IsolationLevel)

Exceptions

ExceptionCondition
NHibernate..::.TransactionException Thrown if there is any problems encountered while trying to create the IDbTransaction.

See Also