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