mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-28 09:35:37 -05:00
Revert "Revert "Adding new Dac Deployment Options and getting descriptions fr…" (#1507)
* Adding missing Deploy options
* SQL DB Project database genScript/Publish working but tests
* Test cases fixed for the changes for DacFx and SC services
* Refactored the model name and tested the changes with ADS extensions.
* updated DeploymentOptionProperty model and corresponding updates.
* Adding DisplayNames to the deploymentOptionProperty to maintain names in STS for all extensions.
* MapTabe intialization in constructor
* Updated comment with more meaning
* Porperty strong type update with actual type
* Creating model with generic type getting using Activator.CreateInstance
* Rebase to main and resolved merge conflicts
* Xml comments added and code updated
* Deployment options update
* Deployoptions typo and comments updates a
* updated deployment options comments
* removed unnecessary using statement
* code refactor
* Revert "Revert "Adding new Dac Deployment Options and getting descriptions from DacFx API (#1357)" (#1493)"
This reverts commit 2b48331115.
* removing duplicated default empty string value
This commit is contained in:
committed by
GitHub
parent
262fd00afd
commit
62d3cdc99a
@@ -1355,8 +1355,8 @@ WITH VALUES
|
||||
DeploymentOptions options = new DeploymentOptions();
|
||||
|
||||
// ensure that files are excluded seperate from filegroups
|
||||
Assert.True(options.ExcludeObjectTypes.Contains(SqlServer.Dac.ObjectType.Files));
|
||||
Assert.False(options.ExcludeObjectTypes.Contains(SqlServer.Dac.ObjectType.Filegroups));
|
||||
Assert.True(options.ExcludeObjectTypes.Value.Contains(SqlServer.Dac.ObjectType.Files));
|
||||
Assert.False(options.ExcludeObjectTypes.Value.Contains(SqlServer.Dac.ObjectType.Filegroups));
|
||||
|
||||
var schemaCompareParams = new SchemaCompareParams
|
||||
{
|
||||
@@ -1826,12 +1826,13 @@ WITH VALUES
|
||||
DeploymentOptions = new DeploymentOptions()
|
||||
{
|
||||
// change some random ones explicitly
|
||||
AllowDropBlockingAssemblies = true,
|
||||
DropConstraintsNotInSource = true,
|
||||
IgnoreAnsiNulls = true,
|
||||
NoAlterStatementsToChangeClrTypes = false,
|
||||
PopulateFilesOnFileGroups = false,
|
||||
VerifyDeployment = false,
|
||||
AllowDropBlockingAssemblies = new DeploymentOptionProperty<bool>(true),
|
||||
DropConstraintsNotInSource = new DeploymentOptionProperty<bool>(true),
|
||||
IgnoreAnsiNulls = new DeploymentOptionProperty<bool>(true),
|
||||
NoAlterStatementsToChangeClrTypes = new DeploymentOptionProperty<bool>(false),
|
||||
PopulateFilesOnFileGroups = new DeploymentOptionProperty<bool>(false),
|
||||
VerifyDeployment = new DeploymentOptionProperty<bool>(false),
|
||||
DisableIndexesForDataPhase = new DeploymentOptionProperty<bool>(false)
|
||||
},
|
||||
ScmpFilePath = filePath,
|
||||
ExcludedSourceObjects = schemaCompareObjectIds,
|
||||
|
||||
Reference in New Issue
Block a user