mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-25 17:24:17 -05:00
Adding new Dac Deployment Options and getting descriptions from DacFx API (#1357)
* 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
This commit is contained in:
committed by
GitHub
parent
70be8f5ef5
commit
a3a66137b8
@@ -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