From 0b2eb4476964436c439194ef5b9b83fbb22ef575 Mon Sep 17 00:00:00 2001 From: Sai Avishkar Sreerama <74571829+ssreerama@users.noreply.github.com> Date: Tue, 21 Jun 2022 14:34:44 -0500 Subject: [PATCH] These changes needs to remove from main and have to merge with other changes. (#1552) --- .../DacFx/Contracts/DeploymentOptions.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/Microsoft.SqlTools.ServiceLayer/DacFx/Contracts/DeploymentOptions.cs b/src/Microsoft.SqlTools.ServiceLayer/DacFx/Contracts/DeploymentOptions.cs index 05530700..29da5d3c 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/DacFx/Contracts/DeploymentOptions.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/DacFx/Contracts/DeploymentOptions.cs @@ -274,8 +274,6 @@ namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts private Dictionary _displayNameMapDict; - public Dictionary IncludeObjectsTable; - #endregion /// @@ -408,9 +406,6 @@ namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts // Setting Display names for all dacDeploy options SetDisplayNameForOption(); - // Preparing Include Object types options table - CreateIncludeObjectsTable(); - // Adding these defaults to ensure behavior similarity with other tools. Dacfx and SSMS import/export wizards use these defaults. // Tracking the full fix : https://github.com/microsoft/azuredatastudio/issues/5599 options.AllowDropBlockingAssemblies = true; @@ -441,22 +436,9 @@ namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts // Setting Display names for all dacDeploy options SetDisplayNameForOption(); - // Preparing Include Object types options table - CreateIncludeObjectsTable(); - SetOptions(options); } - /// - /// Sets include objects enum values and number in to the dictionary - /// - public void CreateIncludeObjectsTable() - { - // Set include objects table data - var objectTypeEnum = typeof(ObjectType); - IncludeObjectsTable = Enum.GetNames(objectTypeEnum).ToDictionary(t => t, t => (int)System.Enum.Parse(objectTypeEnum, t)); - } - /// /// initialize deployment options from the options in a publish profile.xml ///