Flush the associated ISession and end the unit of work.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
void Commit() |
| Visual Basic |
|---|
Sub Commit |
| Visual C++ |
|---|
void Commit() |
Remarks
This method will commit the underlying transaction if and only if the transaction
was initiated by this object.