How do you sync databases using ms sync framework when tables are using identity column and you need to match on an arbitrary key

前端 未结 1 1891
抹茶落季
抹茶落季 2021-01-24 20:51

Sorry for the long and confused title.

I have a customer that wants to sync three database. (Later it could be more.) All data in all three databases must sync to th

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-24 21:11

    if you can add an extra column, create a new column based on the "match key" you specified above. Then configure Sync framework to use that column as the PK and ignoring the actual PKs in the table.

    the approach should be similar to this post:

    Part 3 – Synchronizing tables where Client and Server Primary Keys are different

    0 讨论(0)
提交回复
热议问题