Click or drag to resize
IInheritanceInfoProviderGetHierarchyRelations Method (String, String)
This method returns all relations from the entityName to the root and from the entityName downwards to all the reachable leafs from entityName. All relations to the root are INNER JOIN, all relations from entityName to leafs are LEFT JOIN

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
RelationCollection GetHierarchyRelations(
	string entityName,
	string objectAlias
)

Parameters

entityName
Type: SystemString
name of the current entity on the path of which the hierarchy has to be determined. Example: "CustomerEntity"
objectAlias
Type: SystemString
The object alias to set on all elements in the relations.

Return Value

Type: RelationCollection
collection with relations if entityName was found, or null if not.
See Also