private void AddTableStructNotMatch(string tableName, TableInfoRepo OriTableRepo, TableInfoRepo CpyTableRepo)
        {
            var ori = OriTableRepo.GetStructInfomation_DataTable(tableName);
            var cpy = OriTableRepo.GetStructInfomation_DataTable(tableName);

            if (isTableStructSame(ori, cpy) == false)
            {
                resultNameList.Add(tableName);
                resultTableList.Add(GetTableDataSet(ori, cpy));
            }
        }
Exemple #2
0
        private static bool CheckTableStruct(
            string tableName, TableInfoRepo OriTableRepo, TableInfoRepo CpyTableRepo)
        {
            DataTable oriInfo = OriTableRepo.GetStructInfomation_DataTable(tableName);
            DataTable cpyInfo = CpyTableRepo.GetStructInfomation_DataTable(tableName);

            return(TryIsTableSame(oriInfo, cpyInfo));
        }