/// <summary> /// 手动执行同步运安数据库数据的操作 /// </summary> private void btnMigration_Click(object sender, EventArgs e) { var bll = new PersonInfoBll(); if (bll.Exists()) { MessageBox.Show(@"人员信息已存在(:="); } else { OracleMigrationTask.ExecuteDataSynchronization(); } }
public void TestExecuteDataSynchronization() { TestSuite.CleanTestDb(); OracleMigrationTask.ExecuteDataSynchronization(); }