ProjectGetAllRelationshipsOfSpecificTypesForEntity Method |
Gets all relationships of the specified types for entity.
Namespace: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax public IEnumerable<Pair<RelationshipEdge, bool>> GetAllRelationshipsOfSpecificTypesForEntity(
EntityDefinition entity,
bool includeInheritedRelationships,
HashSet<EntityRelationshipType> relationshipTypes
)
Public Function GetAllRelationshipsOfSpecificTypesForEntity (
entity As EntityDefinition,
includeInheritedRelationships As Boolean,
relationshipTypes As HashSet(Of EntityRelationshipType)
) As IEnumerable(Of Pair(Of RelationshipEdge, Boolean))
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