A newer version of this page is available.
Switch to the current version.
CacheBehavior Enum
Obsolete. Defines how references to instances of persistent objects are stored in a session's cache.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v18.2.dll
Declaration
[Obsolete("Use IdentityMapBehavior instead")]
public enum CacheBehavior
<Obsolete("Use IdentityMapBehavior instead")>
Public Enum CacheBehavior
Members
Name | Description |
---|---|
Default | The behavior is determined by XPO. For instance, in XPO version 8.1 this is equal to CacheBehavior.Weak. |
Weak | Instances of the System.WeakReference class are used. |
Strong | Direct references to objects are used. |
See Also
Feedback