Back to Devexpress

XpoDefault.IdentityMapBehavior Property

xpo-devexpress-dot-xpo-dot-xpodefault-59267941.md

latest1.4 KB
Original Source

XpoDefault.IdentityMapBehavior Property

Gets or sets the Identity Map behavior used by Sessions by default.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public static IdentityMapBehavior IdentityMapBehavior { get; set; }
vb
Public Shared Property IdentityMapBehavior As IdentityMapBehavior

Property Value

TypeDescription
IdentityMapBehavior

An IdentityMapBehavior enumeration value that specifies the Identity Map behavior.

|

Available values:

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.

|

See Also

XpoDefault Class

XpoDefault Members

DevExpress.Xpo Namespace