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.6.0.0 (5.6.19.0117)
Syntax RelationCollection GetHierarchyRelations(
string entityName,
string objectAlias
)
Function GetHierarchyRelations (
entityName As String,
objectAlias As String
) As RelationCollection
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