Skip to main content

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

NameTypeDescription
oppositeIModelOther model
You cannot specify null.

Return value

  • IRelationshipCollection

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for opposite