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

Ignore Dependancies

MatthewBMatthewB Posts: 12 Bronze 1
How do ignore dependencies when you BuildFromDifferences?


  • Options
    James BJames B Posts: 1,124 Silver 4

    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:

    Options.IgnoreFileGroups | Options.IgnoreFillFactor | IgnoreUserProperties | IgnoreWhiteSpace | IgnoreWithElementOrder | IgnoreDatabaseNames | DecryptPost2kEncryptedObjects

    Hope that helps.
    Systems Software Engineer

    Redgate Software

Sign In or Register to comment.