Override the current session cache mode, just for this query.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IQuery SetCacheMode( CacheMode cacheMode ) |
Visual Basic |
---|
Function SetCacheMode ( _ cacheMode As CacheMode _ ) As IQuery |
Visual C++ |
---|
IQuery^ SetCacheMode( CacheMode cacheMode ) |
Parameters
- cacheMode
- Type: NHibernate..::..CacheMode
The cache mode to use.