InheritanceHierarchiesGraphGetSupertypeForEntity Method  | 
 
            Gets the supertype for entity, if the entity is in an inheritance hierarchy
            
 
    Namespace: 
   SD.LLBLGen.Pro.ApplicationCore.EntityModel
    Assembly:
   SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntaxpublic EntityDefinition GetSupertypeForEntity(
	EntityDefinition entity
)
Public Function GetSupertypeForEntity ( 
	entity As EntityDefinition
) As EntityDefinition
Parameters
- entity
 - Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity. 
Return Value
Type: 
EntityDefinitionthe entitydefinition which is the direct supertype of the entity, or null if the entity doesn't have a supertype
See Also