locked
ApplyChanges for custom ServerSyncProvider RRS feed

  • Question

  • I'm writing Groove Forms tool server sync provider, i inherited the GrooveServerSyncProvider class from ServerSyncProvider (not DBServerSyncProvider).  What can i leverage for GetChanges and ApplyChanges implementations? Or do i have to write it completely by myself.

     Thanks for the help

     
    • Moved by Max Wang_1983 Friday, April 22, 2011 9:51 PM forum consolidation (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Sunday, November 4, 2007 3:27 AM

All replies

  • Hi Aman,

     

    The DbServerProvider is designed to work against ADO.NET database provider. It requires DbCommand objects to be configured using T-SQL or any other SQL flavor depends on your backend database. With that in mind, it is not possible to use the DbServerProvider against web service or any other programming interface. I assume Groove has API and you cannot access the groove's database directly. In this case, you will need to implement GetChanges() and ApplyChanges() yourself.

     

    Thanks

     

    Monday, November 12, 2007 6:46 PM