File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -838,9 +838,11 @@ sess.Lock(pk, LockMode.Upgrade);]]></programlisting>
838838 It is possible to change the default behavior so that flush occurs less frequently.
839839 The <literal >FlushMode</literal > class defines three different modes:
840840 only flush at commit time (and only when the NHibernate <literal >ITransaction</literal >
841- API is used, or inside a transaction scope), flush automatically using the explained
842- routine (will only work inside an explicit NHibernate <literal >ITransaction</literal > or
843- inside a transaction scope), or never flush unless
841+ API is used, or inside a transaction scope with a legacy option enabled - see
842+ <xref linkend =" transactions-scopes" />), flush automatically using the explained
843+ routine (will only work inside an explicit NHibernate <literal >ITransaction</literal >, or
844+ inside a transaction scope with limitations for flushes on commit - see
845+ <xref linkend =" transactions-scopes" />), or never flush unless
844846 <literal >Flush()</literal > is called explicitly. The last mode is useful for long
845847 running units of work, where an ISession is kept open and disconnected for a long time
846848 (see <xref linkend =" transactions-optimistic" />).
You can’t perform that action at this time.
0 commit comments