Namespaces

Types

Type FlushMode

Namespace NHibernate

Parent Enum

Methods

Fields

Public instance methods

int CompareTo(object target)

Parameters
return int
object target

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

TypeCode GetTypeCode()

Parameters
return TypeCode

string ToString()

Parameters
return string

string ToString(IFormatProvider provider)

Parameters
return string
IFormatProvider provider

string ToString(string format, IFormatProvider provider)

Parameters
return string
string format
IFormatProvider provider

string ToString(string format)

Parameters
return string
string format

Public fields

int value__

return int

FlushMode Unspecified

${WriteSummary(content)}
return FlushMode

FlushMode Never

The ISession is never flushed unless Flush() is explicitly called by the application. This mode is very efficient for read only transactions
return FlushMode

FlushMode Commit

The ISession is flushed when Transaction.Commit() is called
return FlushMode

FlushMode 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.
return FlushMode