IModel.GetRelationsOf Method
Namespace: NextDesign.Core
Description
Gets all relations with the specified model.
This method evaluates IContextOption.PlModelAccessMode.
If no relevant relations exist, it returns an empty collection.
Note that this method gets all relations regardless of whether they are owned or referenced.
Arguments
Name | Type | Description |
---|---|---|
opposite | IModel | Opposite model null cannot be specified. |
Return value
- IRelationshipCollection
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for opposite |