Click or drag to resize
SubHierarchyView Class
Special kind of inheritance hierarchy view, a view which forms a sub hierarchy inside an inheritance hierarchy view, and where all entities share the same InheritanceHierarchyType and are connected. SubHierarchyView instances are typically created by the InheritanceHierarchiesFinder and aren't kept around as they don't maintain themselves.
Inheritance Hierarchy
SystemObject
  SD.Tools.Algorithmia.GraphsSubGraphViewEntityDefinition, InheritanceEdge
    SD.LLBLGen.Pro.ApplicationCore.EntityModelInheritanceHierarchyView
      SD.LLBLGen.Pro.ApplicationCore.EntityModelSubHierarchyView

Namespace:  SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public class SubHierarchyView : InheritanceHierarchyView

The SubHierarchyView type exposes the following members.

Constructors
  NameDescription
Public methodSubHierarchyView
Initializes a new instance of the SubHierarchyView class.
Top
Properties
  NameDescription
Public propertyEdges
Gets the edges contained in this SubGraphView. All edges are part of this.MainGraph. All vertices are part of this.MainGraph. Enumerating this property will enumerate the inner structures of the SubGraphView, no copy is made. This requires a lock on this.MainGraph.SyncRoot if this.MainGraph.IsSynchronized is set to true to make sure enumeration of this property is thread safe.
(Inherited from SubGraphViewTVertex, TEdge.)
Public propertyHierarchyRoot
Gets the hierarchy root.
(Inherited from InheritanceHierarchyView.)
Public propertyMainGraph
Gets the main graph this SubGraphView is a view on
(Inherited from SubGraphViewTVertex, TEdge.)
Public propertyVertices
Gets the vertices contained in this SubGraphView. All vertices are part of this.MainGraph. Enumerating this property will enumerate the inner structures of the SubGraphView, no copy is made. This requires a lock on this.MainGraph.SyncRoot if this.MainGraph.IsSynchronized is set to true to make sure enumeration of this property is thread safe.
(Inherited from SubGraphViewTVertex, TEdge.)
Top
Methods
  NameDescription
Public methodAdd(TEdge)
Adds the specified edge. If the vertices aren't in the view, they're added too.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodAdd(TVertex)
Adds the specified vertex.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodBindEvents
Binds the event handlers to the events of the main graph.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodCheckIfEntityCanHaveDiscriminatorValueSet
Checks if entity can have its discriminator value set to a value. This depends on the fact if the entity is in a TargetPerEntityHierarchy hierarchy and if the root of the subhierarchy it is in has its discriminatorfield set or if the entity specified is the root of the subhierarchy
Public methodContains(TEdge)
Determines whether this SubGraphView contains the passed in edge.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodContains(TVertex)
Determines whether this SubGraphView contains the passed in vertex.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SubGraphViewTVertex, TEdge.)
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 methodGetAllDiscriminatorValuesKnownInSubHierarchy
Gets all discriminator values known in sub hierarchy or an empty list if the subhierarchy is a hierarchy other than a TPEH.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleEdgeAddedToMainGraph
Handles the event that a new edge was added to the main graph
(Inherited from InheritanceHierarchyView.)
Protected methodHandleEdgeRemovedFromMainGraph
Handles the event that an edge was removed from the main graph.
(Inherited from InheritanceHierarchyView.)
Protected methodHandleVertexAddedToMainGraph
Handles the event that a new vertex was added to the main graph.
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodHandleVertexRemovedFromMainGraph
Handles the event that a vertex was removed from the main graph.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodMarkAsRemoved
Marks this instance as removed. It raises ElementRemoved
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDisposing
Called when Disposing
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodOnEdgeAdded
Called when an edge has been added to this view
(Inherited from InheritanceHierarchyView.)
Protected methodOnEdgeRemoved
Called when an edge has been removed from this view
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodOnVertexAdded
Called when a vertex has been added to this view
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodOnVertexRemoved
Called when a vertex has been removed from this view
(Inherited from InheritanceHierarchyView.)
Protected methodPerformSyncedAction(Action)
Performs the specified action, either inside a lock on MainGraph.SyncRoot if thegraph is Synchronized, or normally, if the graph isn't synchronized.
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodPerformSyncedActionT(FuncT)
Performs the specified action, either inside a lock on MainGraph.SyncRoot if the graph is Synchronized, or normally, if the graph isn't synchronized.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodRemove(TEdge)
Removes the edge.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodRemove(TVertex)
Removes the vertex.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodSetAsHierarchyRoot
Sets the passed in entity as hierarchy root. Entity has to be present in this view.
(Inherited from InheritanceHierarchyView.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnbindEvents
Unbinds the event handlers from the events of the main graph.
(Inherited from SubGraphViewTVertex, TEdge.)
Top
Events
  NameDescription
Public eventDisposed
Event which is raised when this instance was disposed.
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventEdgeAdded
Event which is raised when an edge has been added to this SubGraphView
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventEdgeChanged
If TEdge supports change notification, this event is raised when an edge in the subgraph view was changed
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventEdgeRemoved
Event which is raised when an edge has been removed from this SubGraphView
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventIsEmpty
Event which is raised when the subgraphview is made empty. Observers can use this event to dispose an empty subgraphview to avoid dangling event handlers.
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventVertexAdded
Event which is raised when a vertex has been added to this SubGraphView
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventVertexChanged
If TVertex supports change notification, this event is raised when a vertex in the subgraph view was changed
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventVertexRemoved
Event which is raised when a vertex has been removed from this SubGraphView
(Inherited from SubGraphViewTVertex, TEdge.)
Top
See Also