Skip to main content

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

NameTypeDescription
oppositeIModelModel to remove association from
null cannot be specified.

Return value

  • void

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for opposite