Click or drag to resize
ProjectSetSuperTypeForEntity Method
Sets the super type for entity. To remove an entity as subtype altogether, pass null for newSuperType. If the entity already has a supertype set, it's first removed as a subtype from that entity. If the subType entity has subtypes and newSuperType is null, subType becomes the new root for these subtypes, so it forms a new hierarchy.

Namespace: SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public void SetSuperTypeForEntity(
	EntityDefinition subType,
	EntityDefinition newSuperType,
	InheritanceHierarchyType hierarchyTypePreference
)

Parameters

subType
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
Type of the sub.
newSuperType
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
New type of the super. If null, the subtype is no longer a subtype of any entity
hierarchyTypePreference
Type: SD.LLBLGen.Pro.ApplicationCoreInheritanceHierarchyType
The hierarchy type preference.
See Also