XpoDefault.IdentityMapBehavior Property
In This Article
Gets or sets the Identity Map behavior used by Sessions by default.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public static IdentityMapBehavior IdentityMapBehavior { get; set; }
#Property Value
Type | Description |
---|---|
Identity |
An Identity |
Available values:
Name | Description |
---|---|
Default | The behavior is determined by XPO. Curently, this is equal to Identity |
Weak | Weak references are used, which allows the garbage collector to reclaim unused objects. |
Strong | Direct references to objects are used. |
See Also