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