ProjectGetSupertypeForEntity Method |
Gets the supertype for entity, if the entity is in an inheritance hierarchy
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 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