GeneratorUtilsTopologicalSortTablesOnDependency Method |
Creates a topological sorted list of the tables specified based on their dependencies. A depends on B if A has a foreign key constraint to B. This means
B will appear earlier in the returned list than A.
Namespace:
SD.LLBLGen.Pro.GeneratorCore
Assembly:
SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.9.0.0 (5.9.0)
Syntax public static IEnumerable<DBTable> TopologicalSortTablesOnDependency(
IEnumerable<DBTable> toSort
)
Public Shared Function TopologicalSortTablesOnDependency (
toSort As IEnumerable(Of DBTable)
) As IEnumerable(Of DBTable)
Parameters
- toSort
- Type: System.Collections.GenericIEnumerableDBTable
Return Value
Type:
IEnumerableDBTableSee Also