Commits the ITransaction by flushing the ISession and committing the IDbTransaction.

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

Syntax

C#
public void Commit()
Visual Basic
Public Sub Commit
Visual C++
public:
virtual void Commit() sealed

Implements

ITransaction..::..Commit()()()()

Exceptions

ExceptionCondition
NHibernate..::..TransactionException Thrown if there is any exception while trying to call Commit() on the underlying IDbTransaction.

See Also