Enabling database properties general tab with real time values from SMO (#2093)

* initial commit with all required db handler and props, also getting the data from ADS

* database properties view updated

* Delete Microsoft.SqlTools.ServiceLayer.sln

This file should be ignored

* Removed unwanted file

* Using DatabaseHandler for properties as one handler per object

* removed unused and unnecessary changes

* minimal updates

* moving type conversion to UI side, properties with original types.

* conversion number fixed

* Adding Localized strings

* using existing objectUrn logic to get the smo object

* Adding Integration tests for database properties verification

* refactoring

* updating test
This commit is contained in:
Sai Avishkar Sreerama
2023-06-21 19:41:18 -05:00
committed by GitHub
parent 532f7b0912
commit 5c7dae40e6
9 changed files with 141 additions and 15 deletions

View File

@@ -12429,6 +12429,14 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string databaseBackupDate_None
{
get
{
return Keys.GetString(Keys.databaseBackupDate_None);
}
}
public static string BasicAzureEdition
{
get
@@ -17847,6 +17855,9 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string prototype_file_noApplicableFileGroup = "prototype_file_noApplicableFileGroup";
public const string databaseBackupDate_None = "databaseBackupDate_None";
public const string BasicAzureEdition = "BasicAzureEdition";

View File

@@ -6756,6 +6756,10 @@ The Query Processor estimates that implementing the following index could improv
<value>No Applicable Filegroup</value>
<comment></comment>
</data>
<data name="databaseBackupDate_None" xml:space="preserve">
<value>None</value>
<comment></comment>
</data>
<data name="BasicAzureEdition" xml:space="preserve">
<value>Basic</value>
<comment></comment>

View File

@@ -2800,6 +2800,7 @@ general_containmentType_None = None
general_containmentType_Partial = Partial
filegroups_filestreamFiles = FILESTREAM Files
prototype_file_noApplicableFileGroup = No Applicable Filegroup
databaseBackupDate_None = None
############################################################################
# Azure SQL DB

View File

@@ -8316,6 +8316,11 @@ The Query Processor estimates that implementing the following index could improv
<target state="new">Hyperscale</target>
<note></note>
</trans-unit>
<trans-unit id="databaseBackupDate_None">
<source>None</source>
<target state="new">None</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>