The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.

Strong

Direct references to objects are used.

Weak

Instances of the System.WeakReference class are used.

See Also