Reputation: 1409
Microsoft synchronization implemented is as follows:
I then synchronize this with my client which is a Sql Compact edition (CE) so after I synchronize with the client the table in the client will also contain the same as above I use the LocalProvider-Sql compact edition and RemoteProvider-Sql Server DB.
Now , I change the SERVER “Products” table column entry “Name” – “PC” to “UBUNTUPC” so my server DB table looks like this and then there was an update on the products table .
How do I update from "PC" to "UBANTUPC" value in my client sdf at the same time I want to add “Laptop”, “Frantest” at the server products table ?
UPDATE: I have written the code where in I set the LocalProvider and the RemoteProvider manually. Below is the provider code
syncOrchestrator.LocalProvider = new SqlCeSyncProvider("OfflineDataScope", clientConn);
syncOrchestrator.RemoteProvider = new SqlSyncProvider("OfflineDataScope", serverConn);
Upvotes: 0
Views: 83