| ProjectGetSubHierarchyRootForEntity Method  | 
 
            Gets the sub hierarchy root for the sub hierarchy the entity specified is located in. 
            
 
    Namespace: 
   SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
    Assembly:
   SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntaxpublic EntityDefinition GetSubHierarchyRootForEntity(
	EntityDefinition entity
)
Public Function GetSubHierarchyRootForEntity ( 
	entity As EntityDefinition
) As EntityDefinition
Parameters
- entity
 - Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity. 
Return Value
Type: 
EntityDefinitionthe sub hierarchy root for the sub hierarchy the entity specified is located in or null if the entity isn't in an 
            inheritance hierarchy
See Also