Skip to main content

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​

NameTypeDescription
oppositeIModelModel to remove association from
null cannot be specified.

Return value​

  • void

Exception​

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for opposite