What are the challenges you face when working across database platforms? Take the survey
Options

Exclude dependencies

mtranmtran Posts: 34
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!

Comments

  • Options
    Sorry I did not notice it was updated to SDK8. I am still using SDK 7.
  • Options
    Eddie DEddie D Posts: 1,793 Rose Gold 5
    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:
    // 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
    Senior Product Support Engineer
    Redgate Software Ltd
    Email: support@red-gate.com
Sign In or Register to comment.