Click or drag to resize

IEntityFactoryCoreCreateHierarchyRelations Method (String)

Creates the relations collection to the entity to join all targets so this entity can be fetched. Uses the passed in objectAlias as alias for the elements in the relations.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
IRelationCollection CreateHierarchyRelations(
	string objectAlias
)

Parameters

objectAlias
Type: SystemString
The object alias to use for the elements in the relations.

Return Value

Type: IRelationCollection
null if the entity isn't in a hierarchy of type TargetPerEntity, otherwise the relations collection needed to join all targets together to fetch all subtypes of this entity and this entity itself
See Also