Click or drag to resize
InheritanceHierarchiesFinder Class
Class which finds all inheritance hierarchies and stores them per entity.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.EntityModelInheritanceHierarchiesFinder

Namespace:  SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public class InheritanceHierarchiesFinder

The InheritanceHierarchiesFinder type exposes the following members.

Constructors
  NameDescription
Public methodInheritanceHierarchiesFinder
Initializes a new instance of the InheritanceHierarchiesFinder class.
Top
Properties
  NameDescription
Public propertyHierarchyPerEntity
Gets the entities in the same inheritance hierarchy stored per entity.
Public propertyHierarchyRoots
Gets the hierarchy roots found.
Public propertySubHierarchyPerEntity
Gets the entities in the same sub hierarchy stored per entity. Sub-hierarchy is a hierarchy of entities in the same inheritance hierarchy which are connected and have the same inheritance type as the root of the hierarchy.
Public propertySubHierarchyRoots
Gets the sub hierarchy roots found
Public propertySubtypesPerSupertype
Gets the entities which are a direct or indirect subtype of the supertype, stored per supertype.
Public propertySubtypesPerSupertypeInSubHierarchy
Gets the subtypes in same sub hierarchy per supertype. Sub-hierarchy is a hierarchy of entities in the same inheritance hierarchy which are connected and have the same inheritance type as the root of the hierarchy.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindHierarchies
Finds the hierarchies. The results are stored in the properties of this Finder.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Hierarchy finding is typically the same as finding the separate connected sub-graphs in a graph structure, which can be done in various ways: in a non-directed graph it's easy with a DFS based algorithm, however in directed graphs it's much harder and one would require the transitive closure and use that to find the different hierarchies.
See Also