Click or drag to resize
ObjectGraphUtilsProduceTopologyOrderedListTEntity Method
Produces the topology ordered list for the graph rooted by the entity passed in. Uses topological sort of a directed graph.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public List<TEntity> ProduceTopologyOrderedList<TEntity>(
	TEntity entityToExamine
)
where TEntity : class, IEntityCore

Parameters

entityToExamine
Type: TEntity
Entity to examine.

Type Parameters

TEntity

Return Value

Type: ListTEntity
Arraylist which represents the complete graph of entities which are reachable from entityToExamine, and sorted in the right order, so every entity which depends on another entity is placed after the entity/entities it depends on.
See Also