Click or drag to resize

EntityModelGraphGetAllRelatedEntitiesWithRelationshipOfEntity 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.EntityModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public MultiValueDictionary<EntityDefinition, RelationshipEdge> GetAllRelatedEntitiesWithRelationshipOfEntity(
	EntityDefinition entity,
	bool includeSubtypes,
	bool includeSuperTypes,
	bool includeManyToManyRelationships
)

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