mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-28 09:35:37 -05:00
Adding some default values to match SSDT and other tools (#818)
* Adding some default values to match DacFx deploy Extension and other tools. This help the default behavior but doesn't fix the issue. * Fixing a test for default values and adding comment
This commit is contained in:
@@ -372,6 +372,16 @@ END
|
||||
DeploymentOptions deployOptions = new DeploymentOptions();
|
||||
DacDeployOptions dacOptions = new DacDeployOptions();
|
||||
|
||||
// Changes to match new defaults
|
||||
dacOptions.AllowDropBlockingAssemblies = true;
|
||||
dacOptions.AllowIncompatiblePlatform = true;
|
||||
dacOptions.DropObjectsNotInSource = true;
|
||||
dacOptions.DropPermissionsNotInSource = true;
|
||||
dacOptions.DropRoleMembersNotInSource = true;
|
||||
dacOptions.IgnoreKeywordCasing = false;
|
||||
dacOptions.IgnoreSemicolonBetweenStatements = false;
|
||||
dacOptions.IgnoreWhitespace = false;
|
||||
|
||||
System.Reflection.PropertyInfo[] deploymentOptionsProperties = deployOptions.GetType().GetProperties();
|
||||
System.Reflection.PropertyInfo[] ddProperties = dacOptions.GetType().GetProperties();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user