private void AddTablesToList(List<DataTable> tableList, DataTable dt)
{ // kind of depth _first travarsal
if (!tableList.Contains(dt))
{
tableList.Add(dt);
foreach (DataTable childTable in _tableDictionary[dt])
{
AddTablesToList(tableList, childTable);
}
}
}