|
|
@@ -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)) |
|
|
|
{ |
|
|
|