同步框架同步数据库视图 [英] Sync Framework sync database view

查看:293
本文介绍了同步框架同步数据库视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

微软能否同步框架同步数据库视图?

can microsoft sync framework sync database views ?

或你SelectIncrementalInsertsCommand可以选择并加入到多个表还挺做这样一个观点?

or in your SelectIncrementalInsertsCommand can you select and join to multiple tables kinda doing something like a view?

推荐答案

同步框架不支持的意见。你可以改变SelectIncrementalInsertsCommand返回数据,但你必须确保它给回料,没有多余的列中没有错误匹配的数据类型,确切的模式。还有,如果你的方案确实需要额外的信息的另一种方式。您可以manipualate在供应商的ChangesSelected事件检索的数据集。但是你必须要小心的性能打到这里。

Sync Framework does not support Views. You can changes the SelectIncrementalInsertsCommand to return data, however you need to make sure it gives back exact schema expected, no extra columns no mis matched data types. There is another way if your scenario really demands extra info. You can manipualate the data set retrieved in the ChangesSelected event of Provider. However you need to be careful about performance hit here.

这篇关于同步框架同步数据库视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆