Click or drag to resize
InheritanceInfoProviderBaseGetHierarchyRelations Method (String, String, Boolean)
This method returns all relations from the entityName to the root and from the entityName downwards to all the reachable leafs from entityName, if includePathsToReachableLeafs is set to true. 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.3.0)
public RelationCollection GetHierarchyRelations(
	string entityName,
	string objectAlias,
	bool includePathsToReachableLeafs


Type: SystemString
name of the current entity on the path of which the hierarchy has to be determined. Example: "CustomerEntity"
Type: SystemString
The object alias to set on all elements in the relations.
Type: SystemBoolean
If set to true, it will include the relations for all paths to leafs below the entity passed in

Return Value

Type: RelationCollection
collection with relations if entityName was found, or null if not or if the entity is in a TargetPerEntityHierarchy.


IInheritanceInfoProviderGetHierarchyRelations(String, String, Boolean)
This routine uses no subroutines to avoid thread unsafety.
See Also