Microsoft Sync conflict resolution

Заблокировано Microsoft Sync conflict resolution

  • dimanche 15 novembre 2009 07:15
     
     
    am using Sync Framework 2.0 for Synchronizing SQL Server 2005 and SQL Express database.
    I need to implement the conflict resolution logic for the same.
    I am trying to find out the equivalent of "ConflictResolver" property in "SQLCeClientSyncProvider" in SQLServer2005 /SQLExpress
    I have found out a sample at :
    But sample doesnot give any implementation for conflict resolution.
    Please guide me for handling conflict resolution in case of SQLServer2005 and SQLExpress synchronization.
     
    • Déplacé Dong CaoMicrosoft Employee, Moderator lundi 16 novembre 2009 20:17 It is a database provider question. (From:SyncFx - General)
    • Déplacé Max Wang_Chinasoft jeudi 21 avril 2011 22:30 forum consolidation (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    •  

Toutes les réponses

  • lundi 16 novembre 2009 20:25
     
     
    Hey,

    For your scenario, which providers do you use to sync from SQL server 2005 and SQL express database?

    Thanks,
    Ann
    Ann Tang
  • jeudi 19 novembre 2009 00:41
     
     Traitée
    The SQLExpress provider does not support "ConflictResolver".  You can use the standard way of handling conflicts  in ApplyChangeFailed callback. Please refer to the link below.

    http://msdn.microsoft.com/en-us/library/bb725997.aspx

    Thanks
    Jandeep
    jandeepc
  • vendredi 27 novembre 2009 12:25
     
     
    The SQLExpress provider does not support "ConflictResolver".  You can use the standard way of handling conflicts  in ApplyChangeFailed callback. Please refer to the link below.

    http://msdn.microsoft.com/en-us/library/bb725997.aspx

    Thanks
    Jandeep
    jandeepc

    I am using sqlclientprovider and sqldbprovider to sync sqlexpress client data with sqlserver database provided in sample .
     
    here i couldn't find how to handle dataconflict. 
     
    in the sample they have defined event handlers for confilct.these events are not firing when we update the record and sync from client to server or server to client
  • samedi 28 novembre 2009 06:40
    Propriétaire
     
     
    Transpacific, I have posted a response to your other thread. Please use the new providers and dont spend too much time architecting a solution on the SQL Express sample.
    This posting is provided AS IS with no warranties, and confers no rights