Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Session.CollectReferencingObjects(Object, PersistentCriteriaEvaluationBehavior, Boolean) Method

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.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 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