InheritanceInfoProviderBaseGetHierarchyFields Method |
This method returns an array of IEntityFieldCore objects which contains all fields of all entities on the path:
entityName upwards to the root and entityName downwards to all leafs reachable from entityName, including entityName.
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 public IEntityFieldCore[] GetHierarchyFields(
string entityName
)
Public Function GetHierarchyFields (
entityName As String
) As IEntityFieldCore()
Parameters
- entityName
- Type: SystemString
name of the current entity on the path of which the hierarchy fields has to be determined. Example: "CustomerEntity"
Return Value
Type:
IEntityFieldCoreArray of IEntityFieldCore objects, each element represents one field, or null if entityName isn't found.
When fields are returned, their aliases are set from front to back as 'Fx' where x is the index in the array, starting with 0.
Implements
IInheritanceInfoProviderGetHierarchyFields(String)Remarks This method is used to produce fields which are used for select query construction for inheritance entities.
See Also