Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.63 KB

File metadata and controls

25 lines (19 loc) · 1.63 KB

IDomainModelService.GetAssociationsOfEntity method

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.

See Also