Override the flush mode for this particular query.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
ICriteria SetFlushMode(
	FlushMode flushMode
)
Visual Basic
Function SetFlushMode ( _
	flushMode As FlushMode _
) As ICriteria
Visual C++
ICriteria^ SetFlushMode(
	FlushMode flushMode
)

Parameters

flushMode
Type: NHibernate..::..FlushMode
The flush mode to use.

Return Value

this (for method chaining)

See Also