Configure the cache

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

Syntax

Visual Basic (Declaration)
Function BuildCache ( _
	regionName As String, _
	properties As IDictionary _
) As ICache
C#
ICache BuildCache(
	string regionName,
	IDictionary properties
)
Visual C++
ICache^ BuildCache(
	String^ regionName, 
	IDictionary^ properties
)
JavaScript
function buildCache(regionName, properties);

Parameters

regionName
Type: System..::.String
the name of the cache region
properties
Type: System.Collections..::.IDictionary
configuration settings

Return Value

See Also