NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Used as the value of the
NPersistence.cache.retrieveMode property to
specify the behavior when data is retrieved by the
find methods and by queries.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
public enum CacheRetrieveMode
Members
Member | Value | Description |
---|---|---|
USE | 0 | Read entity data from the cache: this is
the default behavior.
|
BYPASS | 1 | Bypass the cache: get data directly from
the database.
|