Skip to main content

IModel.GetRelationsWhere method

Namespace: NextDesign.Core

Description

Gets all relationships that match the specified criteria for this instance.
This method evaluates IContextOption.PlModelAccessMode.

Returns an empty collection if no such association exists.

The relationship of the acquisition target can be determined arbitrarily using the evaluation function.

argument

NameTypeDescription
predicateFunc<IRelationship, IField, bool>Related evaluation function
1st argument: Related instance
2nd argument: Associated field
Return value: Target and True if the relationship is true

If null is specified, get all the relationships of this instance.

Return value

  • IRelationshipCollection