Ignore Dependancies

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

Comments

  • James BJames B Posts: 1,124 Silver 4
    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:
    Options.default
    

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

    Hope that helps.
    Systems Software Engineer

    Redgate Software

Sign In or Register to comment.