ObjectPrefix / ObjectSchema不一致 [英] ObjectPrefix / ObjectSchema not consistent

查看:105
本文介绍了ObjectPrefix / ObjectSchema不一致的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用...创建一个范围

I create a scope with...

Dim localConfig As New SqlSyncScopeProvisioning(localCnn, scopeDesc) With
      {.ObjectPrefix = SYNC_PREFIX, .ObjectSchema = SYNC_SCHEMA}

问题是前缀和/或架构未应用于_selectchanges存储过程。

Problem is the prefix and/or schema is not applied to the _selectchanges stored procedures.

I 使用红色-Gate的SQLC用于在我的主数据库和我的客户端之间同步模式。我需要一种方法告诉SQLCompare忽略MS Sync的东西。我可以通过.ObjectPrefix或.ObjectSchema来做到这一点,但两者都没有正常工作。

I use Red-Gate's SQLCompare to sync schemas between my master db and my client's. I need a way to tell SQLCompare to ignore MS Sync stuff. I could do this via .ObjectPrefix or .ObjectSchema but neither is working correctly.

或者,有没有办法只在存储过程不存在的情况下重新配置存储过程?

Alternatively, is there a way to reprovision stored procedures only if they do not exist?

 

推荐答案

我认为这是v2.1中的一个已知问题,请参阅:
http://social.microsoft.com/Forums/en-US / syncdevdiscussions / thread / c9e7fc7a-ed74-4562-b3aa-521390f92e87

遗憾的是,无法有选择地设置Sync Fx对象。但是,您可以尝试调用脚本来生成和修改用于配置Sync Fx对象的SQL脚本。

unfortunately, there is no way to selectively provision Sync Fx objects. You can however try calling Script to generate and modify the SQL Scripts used for provisioning the Sync Fx objects.

 


这篇关于ObjectPrefix / ObjectSchema不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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