Click or drag to resize

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.6.0.0 (5.6.19.0117)
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