Back to Devexpress

IdentityMapBehavior Enum

xpo-devexpress-dot-xpo-0566e517.md

latest1.2 KB
Original Source

IdentityMapBehavior Enum

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

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public enum IdentityMapBehavior
vb
Public Enum IdentityMapBehavior

Members

NameDescription
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.

|

The following properties accept/return IdentityMapBehavior values:

See Also

DevExpress.Xpo Namespace