Click or drag to resize
ObjectGraphUtils.PerformTopologySort<TEntity> Method
Performs the topology sort for the adjacencylists and the entity given. Adds the entity to the ArrayList passed in which represents the right ordered queue.

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public void PerformTopologySort<TEntity>(
	TEntity toSort,
	Dictionary<Guid, Dictionary<Guid, TEntity>> adjacencyLists,
	Dictionary<Guid, TEntity> visited,
	List<TEntity> orderedList
)
where TEntity : class, IEntityCore

Parameters

toSort
Type: TEntity
To sort.
adjacencyLists
Type: System.Collections.Generic.Dictionary<Guid, Dictionary<Guid, TEntity>>
Adjacency lists.
visited
Type: System.Collections.Generic.Dictionary<Guid, TEntity>
Visited.
orderedList
Type: System.Collections.Generic.List<TEntity>
The ordered list.

Type Parameters

TEntity
See Also