I attempt to synchronize with an SDF file to SQLServer. In
VS2008, there is also an assistant for this.
In the button click is for me:
LocalDataCacheSyncAgent SyncAgent = new
LocalDataCacheSyncAgent ();
Microsoft.Synchronization.Data.SyncStatistics syncStats =
syncAgent.Synchronize ();
this.textBoxResult.Text + = "Start Time:" +
syncStats.SyncStartTime + Environment.NewLine;
this.textBoxResult.Text + = "Total Changes Downloaded:" +
syncStats.TotalChangesDownloaded + Environment.NewLine;
this.textBoxResult.Text + = "Complete Time:" +
syncStats.SyncCompleteTime + Environment.NewLine;
this.textBoxResult.Text + = String.Empty +
Environment.NewLine;
If I change something in the SQLDatenbank and exports can see the code
I, the database changes in the SDF file. Does the
Wizard or not because I need to do something else. Had only two
Tables selected for testing.