How does the Microsoft Sync Framework handle data conflicts?
The Microsoft Sync Framework detects conflicts during synchronization and then passes them to the provider. Within the provider, developers are free to implement a variety of policies for the resolution of items in conflict. Below are some examples of commonly used resolution policies: · Source wins: Changes made by the source data store always win in the event that a conflict is detected. · Destination wins: Changes made by the destination data store always win. · Merge: Merge the two changes together. Inventory counts are an example where you might want to merge (sum) the values together from two replicas rather than choosing one as the correct value. · Log conflict: Log or defer the conflict.