IdentityMapBehavior Enum
Defines how references to instances of persistent objects are stored in a session’s Identity Map.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v22.1.dll
Declaration
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. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IdentityMapBehavior enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.