IModel.UnRelateAll Method
Namespace: NextDesign.Core
Description
Removes all reference associations between this instance and the specified model.
If there is no association with the specified model, nothing is done and the program ends normally.
In addition, the program ends normally without removing associations with fields that meet the following conditions.
- 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 |