Enum CacheBehavior
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
Defines how references to instances of persistent objects are stored in a session’s cache.
[Obsolete("Use IdentityMapBehavior instead")]
public enum CacheBehavior
Fields
Default = 0
The behavior is determined by XPO. For instance, in XPO version 8.1 this is equal to CacheBehavior.Weak.
Strong = 2
Direct references to objects are used.
Weak = 1
Instances of the System.WeakReference class are used.