IModel.GetRelationsWhere method
Namespace: NextDesign.Core
Description
Gets all associations that meet the specified criteria for this instance. This method evaluates IContextOption.PlModelAccessMode.
If no such association exists, it returns an empty collection.
The relationship to be acquired can be arbitrarily determined by the evaluation function.
argument
Name | Type | Description |
---|---|---|
prefix | Func <IRelationship, IField, bool> | Related evaluation function 1st argument: Related instance 2nd argument: Associated field Return value: Target to be acquired True for associations If null is specified, all associations for this instance will be retrieved. |
Return value
- IRelationshipCollection