Click or drag to resize

ProjectGetAllRelationshipsOfSpecificTypesForEntity 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.EntityModelEntityDefinition
The entity.
includeInheritedRelationships
Type: SystemBoolean
if set to inherited relationships are also examined
relationshipTypes
Type: System.Collections.GenericHashSetEntityRelationshipType
The relationship types.

Return Value

Type: IEnumerablePairRelationshipEdge, 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