.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

IdentityMapBehavior Enum

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public enum IdentityMapBehavior
Public Enum IdentityMapBehavior

Members

Name Description
Default

The behavior is determined by XPO. Curently, this is equal to IdentityMapBehavior.Weak.

Weak

Weak references are used, which allows the garbage collector to reclaim unused objects.

Strong

Direct references to objects are used.

See Also