Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

CacheBehavior Enum

OBSOLETE

Use IdentityMapBehavior instead

Defines how references to instances of persistent objects are stored in a session’s cache.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

[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