IModel.GetRelationsOf method
Namespace: NextDesign.Core
Description
Gets all associations with the specified model. This method evaluates IContextOption.PlModelAccessMode.
If no such association exists, it returns an empty collection. Note that this method gets all associations, regardless of ownership/reference associations.
argument
Name | Type | Description |
---|---|---|
opposite | IModel | Opposite model null cannot be specified. |
Return value
- IRelationshipCollection
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When null is specified for opposite |