开发者

Update schema changes using Microsoft sync framework 2.1

Is this possible to update the server side and Ce(local) Schema using sync framework 2.1.

1) Currently Sync i开发者_如何学Cs working fine. If i update server schema(adding an extra column to table). How to reflect this in SqlCe(Local)?

2) Is this kind of scenario Supported in MSF 4.0?


there is nothing in Sync Fx 4.0 around updating scope configuration to reflect schema changes. (there is now Sync Fx 4 either. What used to be known as Sync Fx CTP 4 was released as Sync Framework Toolkit)

if you're up to it, you can hack the scope_config to alter the scope configuration, see:

Modifying Sync Framework Scope Definition – Part 1 – Introduction

Modifying Sync Framework Scope Definition – Part 2 – Workarounds

Modifying Sync Framework Scope Definition – Part 3 – Workarounds – Adding/Removing Columns

Modifying Sync Framework Scope Definition – Part 4 – Workarounds – Adding a Table to an existing scope


Yes, you can do that. You just need to drop the scope, recreate it and perform the sync again. I am not sure if this is available in MSF 4.0

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜