EntityModelGraphGetAllRelationshipsForEntity Method |
Gets all relationships for the entity specified.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax public IEnumerable<RelationshipEdge> GetAllRelationshipsForEntity(
EntityDefinition entity,
bool includeInheritedRelationships
)
Public Function GetAllRelationshipsForEntity (
entity As EntityDefinition,
includeInheritedRelationships As Boolean
) As IEnumerable(Of RelationshipEdge)
Parameters
- entity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity. - includeInheritedRelationships
- Type: SystemBoolean
if set to true [include inherited relationships].
Return Value
Type:
IEnumerableRelationshipEdge
enumerable over all relationships which have the passed in entity as one of their sides
See Also