[Missing <summary> documentation for "M:NHibernate.Impl.SessionImpl.Flush"]
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public override void Flush() |
Visual Basic |
---|
Public Overrides Sub Flush |
Visual C++ |
---|
public: virtual void Flush() override |
Implements
ISessionImplementor..::..Flush()()()()ISession..::..Flush()()()()
ISessionImplementor..::..Flush()()()()
Remarks
This can be called from commit() or at the start of a List() method.
Perform all the necessary SQL statements in a sensible order, to allow users to repect foreign key constraints: Inserts, in the order they were performedUpdatesDeletion of collection elementsInsertion of collection elementsDeletes, in the order they were performed
Go through all the persistent objects and look for collections they might be holding. If they had a nonpersistable collection, substitute a persistable one