It returns all EntityAssociation in the current app between two IEntity objects when both entities supplied are either the parent and the child.
public IList<EntityAssociation> GetAnyAssociationsBetweenEntities(IModel currentApp,
IEntity entity1, IEntity entity2)| parameter | description |
|---|---|
| currentApp | The current app. |
| entity1 | One IEntity on one side of the IAssociation. |
| entity2 | The other IEntity on one side of the IAssociation. |
List of EntityAssociation
- record EntityAssociation
- interface IModel
- interface IEntity
- interface IDomainModelService
- namespace Mendix.StudioPro.ExtensionsAPI.Services