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.2.0.0 (5.2.17.0403)
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