Visual Studio 2010数据比较自动化

时间:2023-01-14 21:16:23

I noticed in premium edition Data menu with Data Compare option which does everything I need. Just wondering whether there is a way to automate what's done in GUI from my application. Ideally I'd like to get collections of different/left/right rows

我注意到在高级版数据菜单中有数据比较选项,可以完成我需要的一切。只是想知道是否有办法从我的应用程序自动化GUI中完成的工作。理想情况下,我想获得不同/左/右行的集合

2 个解决方案

#1


1  

In this blog I’ll lead you through the various parameters for the “Data.NewDataComparison” ...

在这篇博客中,我将引导您完成“Data.NewDataComparison”的各种参数...

http://blogs.msdn.com/b/psirr/archive/2008/11/22/data-compare-dte-commands.aspx

#2


1  

Start here with VSDBCMD.EXE. Then see Schema Compare DTE Commands.

从VSDBCMD.EXE开始。然后参见Schema Compare DTE Commands。

I suspect something like

我怀疑是这样的

devenv /Command Data.NewSchemaComparison [/ProviderType ConnectionBased | ProjectBased | FileBased] [/ConnectionString connection] | [/DatabaseName databaseName] | [/ConnectionName name] | [ProjectName proj] | [/FileName fileName] [/DspFamily family][ProviderType ConnectionBased | ProjectBased | FileBased] [/ConnectionString connection] | [/DatabaseName databaseName] | [/ConnectionName name] | [ProjectName proj] | [/FileName fileName] [/DspFamily family] 

I'm hoping that there is a similar command for Data Compare.

我希望Data Compare有类似的命令。

#1


1  

In this blog I’ll lead you through the various parameters for the “Data.NewDataComparison” ...

在这篇博客中,我将引导您完成“Data.NewDataComparison”的各种参数...

http://blogs.msdn.com/b/psirr/archive/2008/11/22/data-compare-dte-commands.aspx

#2


1  

Start here with VSDBCMD.EXE. Then see Schema Compare DTE Commands.

从VSDBCMD.EXE开始。然后参见Schema Compare DTE Commands。

I suspect something like

我怀疑是这样的

devenv /Command Data.NewSchemaComparison [/ProviderType ConnectionBased | ProjectBased | FileBased] [/ConnectionString connection] | [/DatabaseName databaseName] | [/ConnectionName name] | [ProjectName proj] | [/FileName fileName] [/DspFamily family][ProviderType ConnectionBased | ProjectBased | FileBased] [/ConnectionString connection] | [/DatabaseName databaseName] | [/ConnectionName name] | [ProjectName proj] | [/FileName fileName] [/DspFamily family] 

I'm hoping that there is a similar command for Data Compare.

我希望Data Compare有类似的命令。