Skip to main content

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

NameTypeDescription
oppositeIModelOpposite model
null cannot be specified.

Return value

  • IRelationshipCollection

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen null is specified for opposite