Ignore Dependancies

Automate and integrate using the SQL comparison API

Ignore Dependancies

Postby MatthewB » Tue Apr 30, 2013 8:37 am

How do ignore dependencies when you BuildFromDifferences?
Posts: 6
Joined: Tue Jan 03, 2012 11:28 am

Postby james.billings » Wed May 01, 2013 2:01 pm


Presumably in your code you've specified the options you want to use, with the Options enumeration. Quite possibly with "Options.Default".

Including dependencies is one of the default options (detailed here) so to turn it "off" you need to replace your various Options settings:

Code: Select all


Code: Select all
Options.IgnoreFileGroups | Options.IgnoreFillFactor | IgnoreUserProperties | IgnoreWhiteSpace | IgnoreWithElementOrder | IgnoreDatabaseNames | DecryptPost2kEncryptedObjects

Hope that helps.
Posts: 1121
Joined: Wed Jun 16, 2010 10:10 am
Location: Red Gate

Return to SQL Comparison SDK Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest