Obsolete. Defines how references to instances of persistent objects are stored in a session's cache.
[Obsolete("Use IdentityMapBehavior instead")] public enum CacheBehavior
<Obsolete("Use IdentityMapBehavior instead")> Public Enum CacheBehavior
The behavior is determined by XPO. For instance, in XPO version 8.1 this is equal to CacheBehavior.Weak.
Instances of the System.WeakReference class are used.
Direct references to objects are used.