DataSourceCommandsTrySortTablesForExecutionOfAllDataSources Method |
This command will sort provided tables containing data sources in a way, that tables dependent on
data of other tables come after the tables they are dependent on.
Namespace: Altaxo.Worksheet.CommandsAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool TrySortTablesForExecutionOfAllDataSources(
IEnumerable<DataTable> dataTables,
out List<DataTable> sortedTables,
out string errorMessage
)
Parameters
- dataTables IEnumerableDataTable
- The data tables for which to execute the data sources.
- sortedTables ListDataTable
- If the return value is true, contains the list of sorted tables. Only tables containing data sources are member of the list.
- errorMessage String
- If the return value is false, contains an error message indicating why the tables could not be sorted. This is the case if circular dependencies were detected.
Return Value
BooleanTrue if the sorting was successful; otherwise, false (circular dependencies detected).
See Also