IModel.UnRelateWhere method¶
Namespace: NextDesign.Core
Description¶
Removes all reference associations with the given model of this instance that meet the specified conditions.
The target for releasing the association can be arbitrarily determined by the evaluation function. However, the association corresponding to the following conditions will not be canceled and will end normally. ・If the relationship that matches the conditions is for product line support - When the System.Core tag is added to the related end field that matches the conditions
argument¶
Name | Type | Description |
---|---|---|
opposite | IModel | The model to disassociate cannot be null. |
predicate | Func<IRelationship, IField, bool> | Related evaluation function 1st argument: Related instance 2nd argument: Associated field * Return value: In case of relation to be released If True null is specified, all reference associations with the given model of this instance will be released. |
Return value¶
- void
Exception¶
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for opposite |