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.6.0.0 (5.6.19.0117)
Syntax public EntityDefinition GetHierarchyRootForEntity(
EntityDefinition entity
)
Public Function GetHierarchyRootForEntity (
entity As EntityDefinition
) As EntityDefinition
Parameters
- entity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity.
Return Value
Type:
EntityDefinitionthe 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