Skip to main content

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

NameTypeDescription
oppositeIModelOpposite model
null cannot be specified.

Return value

  • IRelationshipCollection

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for opposite