Pārlūkot izejas kodu

数据库同步器自定义开始表bug修复

新疆体育高职分支
liangkun pirms 1 gada
vecāks
revīzija
d41bec69ac
1 mainītis faili ar 10 papildinājumiem un 1 dzēšanām
  1. +10
    -1
      Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.DataSync/SyncWindow.cs

+ 10
- 1
Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.DataSync/SyncWindow.cs Parādīt failu

@@ -10,6 +10,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;

@@ -90,8 +91,12 @@ namespace Quanjiang.DigitalScholl.DataSync
SetValueProgressBar(SetValue, GetProgressValue()+1);
if (Program.beginTable != "")
{
if(sourcetable.Name!=Program.beginTable)
if (sourcetable.Name != Program.beginTable)
continue;
else
{
Program.beginTable = "";
}
}
if (targettables.Contains(sourcetable.Name))
{
@@ -203,6 +208,10 @@ namespace Quanjiang.DigitalScholl.DataSync
{
if (sourcetable.Name != Program.beginTable)
continue;
else
{
Program.beginTable = "";
}
}
if (targettables.Contains(sourcetable.Name))
{


Notiek ielāde…
Atcelt
Saglabāt