Session.CollectReferencingObjects(Object, PersistentCriteriaEvaluationBehavior, Boolean) Method
In This Article
Returns a collection of persistent objects that refer to the specified object.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public ICollection CollectReferencingObjects(
object target,
PersistentCriteriaEvaluationBehavior behavior,
bool selectDeleted
)
#Parameters
Name | Type | Description |
---|---|---|
target | Object | The target persistent object. |
behavior | Persistent |
A Persistent |
select |
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