NHibernate : NHibernate Namespace

FlushMode Enum

Represents a flushing strategy.

public enum FlushMode

Remarks

The flush process synchronizes database state with session state by detecting state changes and executing SQL statements

Members

Member Name Description
Auto The ISession is sometimes flushed before query execution in order to ensure that queries never return stale state. This is the default flush mode.
Commit The ISession is flushed when Transaction.Commit() is called
Never The ISession is never flushed unless Flush() is explicitly called by the application. This mode is very efficient for read only transactions
Unspecified Special value for unspecified flush mode (like null in Java).

Requirements

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000