The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.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.v19.2.dll

Declaration

public ICollection CollectReferencingObjects(
    object target,
    PersistentCriteriaEvaluationBehavior behavior,
    bool selectDeleted
)
Public Function CollectReferencingObjects(
    target As Object,
    behavior As PersistentCriteriaEvaluationBehavior,
    selectDeleted As Boolean
) As ICollection
public ICollection CollectReferencingObjects(
    object target,
    PersistentCriteriaEvaluationBehavior behavior,
    bool selectDeleted
)
Public Function CollectReferencingObjects(
    target As Object,
    behavior As PersistentCriteriaEvaluationBehavior,
    selectDeleted As Boolean
) As ICollection

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.

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.

Returns

Type Description
ICollection

A collection of persistent objects that refer to the specified object.

See Also