Click or drag to resize
ProjectGetHierarchyRootForEntity Method
Gets the hierarchy root for entity specified if entity is in an inheritance hierarchy, null otherwise. If the entity specified is the hierarchy root entity is returned

Namespace: SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public EntityDefinition GetHierarchyRootForEntity(
	EntityDefinition entity
)

Parameters

entity
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity.

Return Value

Type: EntityDefinition
the hierarchy root for entity specified if entity is in an inheritance hierarchy, null otherwise. If the entity specified is the hierarchy root entity is returned
See Also