Enable caching of this query result set.

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

Syntax

C#
IMultiQuery SetCacheable(
	bool cacheable
)
Visual Basic
Function SetCacheable ( _
	cacheable As Boolean _
) As IMultiQuery
Visual C++
IMultiQuery^ SetCacheable(
	bool cacheable
)

Parameters

cacheable
Type: System..::..Boolean
Should the query results be cacheable?

Return Value

The instance for method chain.

See Also