Thursday, August 19, 2010 3:29 PM
I'm new to Sync Framework and now I'm investigating on its features.
In my test app I have implemented synchronization between SQL CE and SQL Express using SqlSyncProvider and SqlCeSyncProvider. The synchronization is done using SyncOrchestrator class. First of all, I'd like to modify my code so that only inserts and updated should be synced between client and server. Deletes in client or server database should not be synced.
I wonder how I can do this? Should I use custom sync provider classes, or some custom SQL script? Please help me with this problem.
Thursday, August 19, 2010 3:48 PMModerator
try disabling the Delete Trigger created by Sync Fx when provisioning. There will be one for each table in the scope.
- Proposed As Answer by Adrian Mustea - MSFTMicrosoft Employee Monday, August 23, 2010 6:16 PM
Thursday, August 19, 2010 4:12 PMThanks, I hope it will help. But is there any Sync Framework API for this?
Thursday, August 19, 2010 11:46 PMModeratorAFAIK, there's nothing specific in the API that allows you to do this.