Enum DbCachingMode
Represents a second-level caching strategy.
Namespace: Apache.Ignite.EntityFramework
Assembly: Apache.Ignite.EntityFramework.dll
Syntax
public enum DbCachingMode : int
Fields
Name | Description |
---|---|
ReadOnly | Read-only mode, never invalidates. Database updates are ignored in this mode. Once query results have been cached, they are kept in cache until expired (forever when no expiration is specified). This mode is suitable for data that is not expected to change (like a list of countries and other dictionary data). |
ReadWrite | Read-write mode. Cached data is invalidated when underlying entity set changes. This is "normal" cache mode which always provides correct query results.
Keep in mind that this mode works correctly only when all database changes are performed
via |