ProjectGetAllRelatedEntitiesWithRelationshipOfEntity Method |
Gets all related entities of the entity specified (with the relationship(s) over which they're related), including related entities over inherited
relationships.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax public MultiValueDictionary<EntityDefinition, RelationshipEdge> GetAllRelatedEntitiesWithRelationshipOfEntity(
EntityDefinition entity,
bool includeSubtypes,
bool includeSuperTypes,
bool includeManyToManyRelationships
)
Public Function GetAllRelatedEntitiesWithRelationshipOfEntity (
entity As EntityDefinition,
includeSubtypes As Boolean,
includeSuperTypes As Boolean,
includeManyToManyRelationships As Boolean
) As MultiValueDictionary(Of EntityDefinition, RelationshipEdge)
Parameters
- entity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity. - includeSubtypes
- Type: SystemBoolean
If set to true, the subtypes of related entities are also returned, as these are also related. - includeSuperTypes
- Type: SystemBoolean
If set to true, the supertypes of related entities are also returned. - includeManyToManyRelationships
- Type: SystemBoolean
if set to true, related entities over m:n relationships are also included
Return Value
Type:
MultiValueDictionaryEntityDefinition,
RelationshipEdge
All entities related to the entity specified with the relationship(s) over which they're related.
See Also