IModel.UnRelateAllDerivedFrom Method
Namespace: NextDesign.Core
Description
Release all associations of this instance that are derived from the specified model.
If there is no association with the specified model, nothing is done and the program ends normally.
In addition, associations with fields that meet the following conditions will also end normally without being removed.
- Associations with product line support fields
- Associations with fields tagged with System.Core
Arguments
Name | Type | Description |
---|---|---|
opposite | IModel | Model to remove association from null cannot be specified. |
Return value
- void
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for opposite |