Session.CollectReferencingObjects(Object, PersistentCriteriaEvaluationBehavior, Boolean) Method
Returns a collection of persistent objects that refer to the specified object.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v25.1.dll
NuGet Package: DevExpress.Xpo
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| target | Object | The target persistent object. |
| behavior | PersistentCriteriaEvaluationBehavior | A PersistentCriteriaEvaluationBehavior enumeration value that specifies how the persistent criteria is evaluated. |
| selectDeleted | Boolean | true to include persistent objects marked for deletion in the search; otherwise, false. |
Returns
| Type | Description |
|---|---|
| ICollection | A collection of persistent objects that refer to the specified object. |
See Also