System.Data.XMLDiffLoader.CreateTablesHierarchy C# (CSharp) Method

CreateTablesHierarchy() private method

private CreateTablesHierarchy ( DataTable dt ) : void
dt DataTable
return void
        private void CreateTablesHierarchy(DataTable dt)
        {
            foreach (DataRelation r in dt.ChildRelations)
            {
                if (!_tables.Contains(r.ChildTable))
                {
                    _tables.Add(r.ChildTable);
                    CreateTablesHierarchy(r.ChildTable);
                }
            }
        }