Visual Studio 2010 data comparison automation

I noticed in the data menu Premium Edition Data with the Data Compare option, which does everything I need. Just wondering if there is a way to automate what is done in the GUI from my application. Ideally, I would like to get collections from different / left / right strings

+4
source share
2 answers

In this blog, I will guide you through various parameters for "Data.NewDataComparison" ...

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

+1
source

Run here with VSDBCMD.EXE. Then see 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 hope there is a similar command to compare the data.

+1
source

Source: https://habr.com/ru/post/1269195/


All Articles