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.ProjectClassesAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
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