Configure the cache
Namespace:
NHibernate.CacheAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function BuildCache ( _ regionName As String, _ properties As IDictionary _ ) As ICache |
C# |
---|
public ICache BuildCache( string regionName, IDictionary properties ) |
Visual C++ |
---|
public: virtual ICache^ BuildCache( String^ regionName, IDictionary^ properties ) sealed |
JavaScript |
---|
function buildCache(regionName, properties); |
Parameters
- regionName
- Type: System..::.String
the name of the cache region
- properties
- Type: System.Collections..::.IDictionary
configuration settings
Implements
ICacheProvider..::.BuildCache(String, IDictionary)
Exceptions
Exception | Condition |
---|---|
NHibernate.Cache..::.CacheException |