Red Gate forums :: View topic - Exclude dependencies
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK Previous Versions
SQL Comparison SDK Previous Versions forum

Exclude dependencies

Search in SQL Comparison SDK Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
mtran



Joined: 07 Oct 2008
Posts: 25

PostPosted: Thu Jul 23, 2009 8:14 pm    Post subject: Exclude dependencies Reply with quote

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?

Thanks!
Back to top
View user's profile Send private message
mtran



Joined: 07 Oct 2008
Posts: 25

PostPosted: Thu Jul 23, 2009 8:25 pm    Post subject: Wrong Version Reply with quote

Sorry I did not notice it was updated to SDK8. I am still using SDK 7.
Back to top
View user's profile Send private message
eddie davis



Joined: 14 Jun 2006
Posts: 938
Location: Red Gate Software

PostPosted: Mon Jul 27, 2009 2:43 pm    Post subject: Reply with quote

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:

// 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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group