Sync Framework: SqlSyncProvider ItemConflicting vs ApplyChangeFailed
- by Paul Smith
I'm trying to use design a syncronisation application that syncs changes between different SQL Server databases.
I came up with a design based around receiving the ItemConflicting event, storing the knowledge associated with the conflict, and resolving all conflicts off-line.
However, it seems that I can only get the ApplyChangeFailed event to fire. Is there some reason why SqlSyncProvider does not use the ItemConflicting event? Am I just hooking up to the event wrongly?
The reason I care is that the ItemConlficting event allows me to simply log the conflict and continue with the rest of the synchronisation in a way that I can't seem to achieve with the ApplychangeFailed event.