IModel.RelateAllDerivedFrom method
Namespace: NextDesign.Core
Description
Returns a collection of all related instances that you have added, associating the given model of this instance as the derivation source for all fields that can be associated with the given model as the derivation source. If a deleted model or temporary proxy is specified for the model to be associated, the association will not be performed. If no association is made, an empty collection is returned.
This method excludes fields that do not meet the following constraints: [Constraints to evaluate]
- Path constraint
- Type constraints
- Multiplicity upper limit
- Operability
argument
Name | Type | Description |
---|---|---|
opposite | IModel | Associate model Null cannot be specified. |
Return value
- IRelationshipCollection
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When null is specified for opposite |
Illegal operation | ExtensionInvalidOperationException | If it is a deleted model, temporary proxy |