Override the cache mode for this particular query.
Namespace: NHibernate.ImplAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public ICriteria SetCacheMode( CacheMode cacheMode ) |
Visual Basic |
---|
Public Function SetCacheMode ( _ cacheMode As CacheMode _ ) As ICriteria |
Visual C++ |
---|
public: virtual ICriteria^ SetCacheMode( CacheMode cacheMode ) sealed |
Parameters
- cacheMode
- Type: NHibernate..::..CacheMode
The cache mode to use.