SyncOrchestrator orchestrator = new SyncOrchestrator(); orchestrator.LocalProvider = localProvider; orchestrator.RemoteProvider = remoteProvider; orchestrator.Direction = SyncDirectionOrder.UploadAndDownload; //progressForm = new ProgressForm(); //progressForm.Show(); //Check to see if any provider is a Sql provider and if it needs schema CheckIfProviderNeedsSchema(localProvider as SqlSyncProvider); CheckIfProviderNeedsSchema(remoteProvider as SqlSyncProvider); SyncOperationStatistics stats=null; try { stats = orchestrator.Synchronize(); } catch (Exception ee) { } //progressForm.ShowStatistics(stats); //progressForm.EnableClose(); return stats;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)