Click or drag to resize

ProjectMakeEntitiesSubtypeOf Method

Makes the entities in the enumerable passed in a subtype of the supertype specified. The hierarchy type specified should be used as the hierarchy type for the subtype and if the supertype isn't in an inheritance hierarchy, also for the supertype.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public void MakeEntitiesSubtypeOf(
	IEnumerable<EntityDefinition> subtypes,
	EntityDefinition supertype,
	InheritanceHierarchyType hierarchyTypePreference
)

Parameters

subtypes
Type: System.Collections.GenericIEnumerableEntityDefinition
The subtypes.
supertype
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The supertype.
hierarchyTypePreference
Type: SD.LLBLGen.Pro.ApplicationCoreInheritanceHierarchyType
The hierarchy type preference.
See Also