IModel.UnRelateByClassTag method
Namespace: NextDesign.Core
Description
Disassociates this instance from the model given by the reference field that can be associated by an association class with the specified tag.
If there is no association with the given model, nothing is done and it exits normally.
In addition, the link to the fields that meet the following conditions will not be canceled and will end normally.
・Association in the field for product line support
・Associating with fields with System.Core tags
argument
Name | Type | Description |
---|---|---|
opposite | IModel | Model to disassociate Cannot be null. |
classTag | string | Tag name of related class If null or an empty string is specified, nothing is done. |
value | string | The string representation of the tag value The default value is null. If null or an empty string is specified, only the presence or absence of the tag for the class is evaluated. |
Return value
- void
Exceptions
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for opposite |