Sync Framework: SqlSyncProvider ItemConflicting vs ApplyChangeFailed
Posted
by Paul Smith
on Stack Overflow
See other posts from Stack Overflow
or by Paul Smith
Published on 2010-04-22T10:12:28Z
Indexed on
2010/04/22
10:13 UTC
Read the original article
Hit count: 363
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.
© Stack Overflow or respective owner