Click or drag to resize

CacheController Fields

The CacheController type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberCachingEnabled
If set to true (default) the caching system works as expected. If set to false, no resultsets are cached. Set to false when caching is undesired (e.g. during debugging). Global setting.
Public fieldStatic memberThrowExceptionWhenCacheNotAvailable
If set to true the controller will throw an InvalidOperationException when a caching attempt is made for a cache which isn't registered. If false (default), the caching attempt for a cache which doesn't exist will result in a no-op. Set to true during testing/debug to see whether you're trying to cache data in non-existing caches.
Top
See Also