Click or drag to resize

Project.GetAllRelationshipsOfSpecificTypesForEntity Method

Gets all relationships of the specified types for entity.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax
public IEnumerable<Pair<RelationshipEdge, bool>> GetAllRelationshipsOfSpecificTypesForEntity(
	EntityDefinition entity,
	bool includeInheritedRelationships,
	HashSet<EntityRelationshipType> relationshipTypes
)

Parameters

entity
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModel.EntityDefinition
The entity.
includeInheritedRelationships
Type: System.Boolean
if set to true inherited relationships are also examined
relationshipTypes
Type: System.Collections.Generic.HashSet<EntityRelationshipType>
The relationship types.

Return Value

Type: IEnumerable<Pair<RelationshipEdge, Boolean>>
enumerable of pairs which have Value1 as the relationship requested and Value2 as the flag if the startEntity (true) is the entity specified (or supertype) or the end entity (false)
See Also