.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

CacheBehavior Enum

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.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