IInheritanceInfoProviderGetInheritanceInfo Method |
Gets an IInheritanceInfo object with the inheritance information for the entity with the supplied name.
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 IInheritanceInfo GetInheritanceInfo(
string entityName,
bool startWithRoot
)
Function GetInheritanceInfo (
entityName As String,
startWithRoot As Boolean
) As IInheritanceInfo
Parameters
- entityName
- Type: SystemString
name of the entity, like "CustomerEntity". This name is used for retrieving the information from
a thread safe hashtable - startWithRoot
- Type: SystemBoolean
Set to if the relations in
RelationsToHierarchyRoot have to start with the root and walk downwards to the entityName
entity, or set to false if the relations have to start at the entityname and move upwards to the root.
Return Value
Type:
IInheritanceInfoReady to use IInheritanceInfo object if entityName is part of a hierarchy. If entityName isn't part of a
hierarchy, null is returned. (not part of a hierarchy means: not a supertype nor a subtype
See Also