IModel.GetRelationsOf method
Namespace: NextDesign.Core
Description
Get all associations with the specified model.
This method evaluates IContextOption.PlModelAccessMode.
Returns an empty collection if no such association exists.
Note that this method retrieves all associations regardless of owning/referencing associations.
argument
Name | Type | Description |
---|---|---|
opposite | IModel | Other model You cannot specify null. |
Return value
- IRelationshipCollection
Exceptions
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for opposite |