Force the ISession to flush.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Flush |
C# |
---|
void Flush() |
Visual C++ |
---|
void Flush() |
JavaScript |
---|
function flush(); |
Remarks
Must be called at the end of a unit of work, before commiting the transaction and closing
the session (Transaction.Commit() calls this method). Flushing if the process
of synchronising the underlying persistent store with persistable state held in memory.