ModelInfoProviderBaseGetInheritanceInfo 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.10.0.0 (5.10.0)
Syntax public IInheritanceInfo GetInheritanceInfo(
string entityName,
bool startWithRoot
)
Public 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
Implements
IInheritanceInfoProviderGetInheritanceInfo(String, Boolean)See Also