IModel.IsRelatedTo method
Namespace: NextDesign.Core
Description
Checks if this instance has a reference association with the given model.
Returns True if related.
argument
| Name | Type | Description |
|---|---|---|
| model | IModel | Target model You cannot specify null. |
Return value
- bool
Exceptions
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null is specified for model |