Set the name of the cache region.

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

Syntax

Visual Basic (Declaration)
Function SetCacheRegion ( _
	cacheRegion As String _
) As ICriteria
C#
ICriteria SetCacheRegion(
	string cacheRegion
)
Visual C++
ICriteria^ SetCacheRegion(
	String^ cacheRegion
)
JavaScript
function setCacheRegion(cacheRegion);

Parameters

cacheRegion
Type: System..::.String
the name of a query cache region, or nullNothingnullptra null reference (Nothing in Visual Basic) for the default query cache

Return Value

See Also