It returns all EntityAssociation in the current app where the IEntity supplied is the parent or the child, determined by the AssociationDirection.
public IList<EntityAssociation> GetAssociationsOfEntity(IModel currentApp, IEntity entity,
AssociationDirection associationDirection)| parameter | description |
|---|---|
| currentApp | The current app. |
| entity | The IEntity which is either the parent or child (or both) of an IAssociation. |
| associationDirection | The direction of the association to filter by. It can be either Parent, Child or Both. |
- record EntityAssociation
- interface IModel
- interface IEntity
- enum AssociationDirection
- interface IDomainModelService
- namespace Mendix.StudioPro.ExtensionsAPI.Services