Class CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy
This strategy creates implied relationships between all valid combinations of the parent elements, unless any relationship already exists between them.
public class CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy : AbstractImpliedRelationshipsStrategy, IImpliedRelationshipsStrategy
- Inheritance
-
CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy
- Implements
- Inherited Members
Methods
CreateImpliedRelationships(Relationship)
Creates implied relationships while avoiding duplicates between the same source and destination.
public override void CreateImpliedRelationships(Relationship relationship)
Parameters
relationshipRelationshipThe explicit relationship that triggered implied relationship generation.
Remarks
This strategy walks up both parent hierarchies and stops only when any outgoing relationship already exists between the candidate elements.