Click or drag to resize

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.6.0.0 (5.6.19.0117)
Syntax
public static IEnumerable<DBTable> TopologicalSortTablesOnDependency(
	IEnumerable<DBTable> toSort
)

Parameters

toSort
Type: System.Collections.GenericIEnumerableDBTable

Return Value

Type: IEnumerableDBTable
See Also