Set the name of the cache region.

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

Syntax

C#
IQueryOver<TRoot> CacheRegion(
	string cacheRegion
)
Visual Basic
Function CacheRegion ( _
	cacheRegion As String _
) As IQueryOver(Of TRoot)
Visual C++
IQueryOver<TRoot>^ CacheRegion(
	String^ 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

[Missing <returns> documentation for "M:NHibernate.IQueryOver`1.CacheRegion(System.String)"]

See Also