Click or drag to resize

ObjectGraphUtils Class

Some utility functions to process graphs
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesObjectGraphUtils

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public class ObjectGraphUtils

The ObjectGraphUtils type exposes the following members.

Constructors
  NameDescription
Public methodObjectGraphUtils
Initializes a new instance of the ObjectGraphUtils class
Top
Methods
  NameDescription
Public methodDetermineActionQueuesTEntity(TEntity, ListActionQueueElementTEntity, ListActionQueueElementTEntity)
Determines the action queues for the entity passed in. The action queues contain the entities to process in the right order.
Public methodDetermineActionQueuesTEntity(TEntity, IPredicate, ListActionQueueElementTEntity, ListActionQueueElementTEntity)
Determines the action queues for the entity passed in. The action queues contain the entities to process in the right order.
Public methodDetermineActionQueuesTEntity(TEntity, ListActionQueueElementTEntity, ListActionQueueElementTEntity, Boolean)
Determines the action queues for the entity passed in. The action queues contain the entities to process in the right order.
Public methodDetermineActionQueuesTEntity(TEntity, IPredicate, ListActionQueueElementTEntity, ListActionQueueElementTEntity, Boolean)
Determines the action queues for the entity passed in. The action queues contain the entities to process in the right order.
Public methodDetermineActionQueuesTEntity, TCollection(TCollection, ListActionQueueElementTEntity, ListActionQueueElementTEntity)
Determines the action queues for the entity collection passed in. The action queues contain the entities to process in the right order.
Public methodDetermineActionQueuesTEntity, TCollection(TCollection, ListActionQueueElementTEntity, ListActionQueueElementTEntity, Boolean)
Determines the action queues for the entity collection passed in. The action queues contain the entities to process in the right order.
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 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 methodPerformTopologySort(Type, MultiValueDictionaryType, Type, HashSetType, ListType)
Performs the topology sort for the adjacencylists and the type given. Adds the type to the list passed in which represents the right ordered queue.
Public methodPerformTopologySortTEntity(TEntity, DictionaryGuid, DictionaryGuid, TEntity, DictionaryGuid, TEntity, ListTEntity)
Performs the topology sort for the adjacencylists and the entity given. Adds the entity to the list passed in which represents the right ordered queue.
Public methodProduceAdjacencyListsTEntity
Produces adjancency lists for the entities in the complete graph reachable from the entity passed in, using a non-recursive search algorithm. This routine figures out the graph to process by walking it, using a hashtable (recursed) to take note which nodes are already processed. When it finds an entity A and an entity B having a relation in the graph (have 'an edge'), and A is depending on B, we add B to the adjacency list of A, though we don't add A to the adjacency list of B. Additionally, it adds the type of B to the adjacency list of the type of A. This way we can determine the order of types.
Public methodProduceCollectionsPerTypeFromGraphTCollection(TCollection)
Produces the collections per type from the graph specified
Public methodProduceCollectionsPerTypeFromGraphTCollection(TCollection)
Produces the collections per type from the graph specified
Public methodProduceTopologyOrderedListTEntity
Produces the topology ordered list for the graph rooted by the entity passed in. Uses topological sort of a directed graph using a non-recursive implementation of Tarjan's algorithm using an in-line stack.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also