Click or drag to resize

EntityModelGraphGetAllRelationshipsOfSpecificTypesForEntity Method

Gets all relationships of the specified types for entity.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
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