自定义Sync Framework创建的触发器 [英] Customizing Triggers created by Sync Framework

查看:86
本文介绍了自定义Sync Framework创建的触发器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

          有什么办法可以自定义SyncFramework创建的触发器吗?我想在Sync Framework创建的每个触发器中将语句添加为"SET NOCOUNT ON"。

           Is there any way that I can customize the triggers created by SyncFramework? I want to add the statement as 'SET NOCOUNT ON' in each of the triggers created by Sync Framework.

 

 

-Ajinath

推荐答案

afaik,API中没有允许您在配置中插入任意语句的内容。您可以尝试使用SqlSyncScopeProvisioning.Script生成脚本,然后修改并运行脚本。
afaik, there's none in the API that allows you to insert arbitrary statements in the provisioning. you can try SqlSyncScopeProvisioning.Script to generate the script, then modify and run the script afterwards.


这篇关于自定义Sync Framework创建的触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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