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.storeMode property to specify
the behavior when data is read from the database and when data is
committed into the database.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
public enum CacheStoreMode
Members
Member | Value | Description |
---|---|---|
USE | 0 | Insert/update entity data into cache when read
from database and when committed into database:
this is the default behavior. Does not force refresh
of already cached items when reading from database.
|
BYPASS | 1 | Don't insert into cache.
|
REFRESH | 2 | Insert/update entity data into cache when read
from database and when committed into database.
Forces refresh of cache for items read from database.
|