Skip to main content
.NET 8.0+

Session.CollectReferencingObjects(Object, PersistentCriteriaEvaluationBehavior, Boolean) Method

Returns a collection of persistent objects that refer to the specified object.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public ICollection CollectReferencingObjects(
    object target,
    PersistentCriteriaEvaluationBehavior behavior,
    bool selectDeleted
)

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