Ignore Dependancies

Automate and integrate using the SQL comparison API

Ignore Dependancies

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

How do ignore dependencies when you BuildFromDifferences?
MatthewB
 
Posts: 2
Joined: Tue Jan 03, 2012 12:28 pm

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

Hi-

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
Options.default


with

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


Hope that helps.
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.


Return to SQL Comparison SDK 10

Who is online

Users browsing this forum: No registered users and 0 guests