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.4.0.0 (5.4.0)
Syntax public List<TEntity> ProduceTopologyOrderedList<TEntity>(
TEntity entityToExamine
)
where TEntity : class, IEntityCore
Public Function ProduceTopologyOrderedList(Of TEntity As {Class, IEntityCore}) (
entityToExamine As TEntity
) As List(Of TEntity)
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