예제 #1
0
        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));
            }
        }
예제 #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));
        }