Get Summary of Changes in Microsoft Sync Framework

I use the Microsoft Sync Framework to synchronize the SQL Server 2005 database and SQL Server 2005 client. My requirement is to get a summary of all the changes and display it to the user before synchronizing.

Does anyone have any ideas how we can get the changes to the Microsoft synchronization infrastructure before we synchronize them?

+4
source share
1 answer

If you use version 1 to verify synchronization, you can use the interface class between your synchronization agent and the remote provider.

When data is received in an interface class, as a SyncSession object, you can SyncSession it and or modify it before passing it to the agent.

 public class SynchronizationInterface { public SyncContext GetChanges(SyncGroupMetadata groupMetadata, SyncSession syncSession) { SyncContext syncContext; syncContext = syncServiceClient.GetChanges(groupMetadata,syncSession); //Inspect and or modify the syncContext that received. return syncContext; } //Implement ApplyChanges, GetServerInfo, GetSchema in the same manner. } 
+3
source

All Articles