Skip to main content

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

NameTypeDescription
oppositeIModelAssociate model
Null cannot be specified.

Return value

  • IRelationshipCollection

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen null is specified for opposite
Illegal operationExtensionInvalidOperationExceptionIf it is a deleted model, temporary proxy