How to get Table Field values during sync from Events like DbSyncProgressEventArgs. RRS feed

  • Question

  • Hi,

    I am facing an issue related to Sync. During  Sync as some Tables fails to sync, entire Session gets rollback. 

    Through DbSyncProgressEventArgs or DbApplyingChangesEventArgs, DbChangesSelectedEventArgs or DbChangesAppliedEventArgs, events, i want to find the Field values from that table so that i can identify which raw failed.

    For example, for DbSyncProgressEventArgs, we can fetch table using  e.TableProgress.TableName. But how can i get fields or Primary key value of that table row which is inserted or updated or deleted.

    Please give suggestions on this. 



    Thursday, March 12, 2015 3:00 PM

All replies

  • DbApplyingChangesEventArgs, DbChangesSelectedEventArgs  has Context property that has in turn has a Dataset property containing the change dataset being synched.
    Monday, April 13, 2015 8:12 AM