Exclude dependencies

Automate and integrate using the SQL comparison API

Exclude dependencies

Postby mtran » Thu Jul 23, 2009 7:14 pm

How would I exclude dependencies? I am finding that some things are syncing because of this. In the GUI there is a checkbox that I uncheck before the process, but how would I do this in the code?

Posts: 25
Joined: Tue Oct 07, 2008 5:55 pm

Wrong Version

Postby mtran » Thu Jul 23, 2009 7:25 pm

Sorry I did not notice it was updated to SDK8. I am still using SDK 7.
Posts: 25
Joined: Tue Oct 07, 2008 5:55 pm

Postby eddie davis » Mon Jul 27, 2009 1:43 pm

Thank you for your post into the forum.

Using this code example from the synchronzing schema code example:

I suspect that you need this argument set in your code using the code example posted in this example:
Code: Select all
// The script is to be run on WidgetProduction so the runOnTwo parameter is true
work.BuildFromDifferences(stagingVsProduction, Options.Default^options.IncludeDependencies, true);

I hope the above helps.
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
E-mail: support@red-gate.com
eddie davis
Posts: 1146
Joined: Wed Jun 14, 2006 2:47 pm
Location: Red Gate Software

Return to SQL Comparison SDK Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests