IModel.RelateAllDerivedTo 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 destination with the given model of all fields that can be associated as the derivation destination. 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 |