IModel.GetDerivedFromRelationsOf method
Namespace: NextDesign.Core
Description
If this model is an element derived from the specified model, get all the derived relationships.
For example, if this model is an element derived from{element A}, you can obtain the derived relationship by specifying{element A} as an argument.
This can be used for processing such as:
・If there is a derived relationship between the request object and the specification object, obtain the relationship for the request object from the specification object side
This method evaluates IContextOption.PlModelAccessMode.
Returns an empty collection if no such association exists.
argument
Name | Type | Description |
---|---|---|
opposite | IModel | Opposite model Null cannot be specified. |
Return value
- IRelationshipCollection
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for opposite |