From 485786f49ecea12fc75a73e64c9c19e4c98e9b02 Mon Sep 17 00:00:00 2001
From: Jordan Hays <58005768+nofield@users.noreply.github.com>
Date: Tue, 9 Aug 2022 14:17:51 -0700
Subject: [PATCH] Dropped Ledger Tables Folder (#1625)
* support and testing for Dropped Ledger Table folder
* appending DroppedLedgerTables nodetype
* fixing unit tests
* undoing string.Empty
---
.../Localization/sr.cs | 13 +++-
.../Localization/sr.resx | 4 ++
.../Localization/sr.strings | 2 +
.../Localization/sr.xlf | 5 ++
.../ObjectExplorer/Nodes/NodeTypes.cs | 3 +-
.../ObjectExplorer/SmoModel/SmoTreeNodes.cs | 66 ++++++++++++++++++
.../SmoModel/SmoTreeNodesDefinition.xml | 10 +++
.../ObjectExplorerServiceTests.cs | 19 +++--
.../Baselines/AllSqlObjects.txt | 27 +++++++
.../TestScripts/AllSqlObjects.sql | Bin 41404 -> 42506 bytes
.../ObjectExplorer/NodePathGeneratorTests.cs | 14 ++--
11 files changed, 150 insertions(+), 13 deletions(-)
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
index 9adff211..566ab816 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
@@ -1,5 +1,5 @@
// WARNING:
-// This file was generated by the Microsoft DataWarehouse String Resource Tool 5.0.0.0
+// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0
// from information in sr.strings
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
//
@@ -2045,6 +2045,14 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
+ public static string SchemaHierarchy_DroppedLedgerTables
+ {
+ get
+ {
+ return Keys.GetString(Keys.SchemaHierarchy_DroppedLedgerTables);
+ }
+ }
+
public static string SchemaHierarchy_AlwaysEncryptedKeys
{
get
@@ -10645,6 +10653,9 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string SchemaHierarchy_ExternalTables = "SchemaHierarchy_ExternalTables";
+ public const string SchemaHierarchy_DroppedLedgerTables = "SchemaHierarchy_DroppedLedgerTables";
+
+
public const string SchemaHierarchy_AlwaysEncryptedKeys = "SchemaHierarchy_AlwaysEncryptedKeys";
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
index 30a0d870..2c7ce566 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
@@ -1280,6 +1280,10 @@
External Tables
+
+ Dropped Ledger Tables
+
+
Always Encrypted Keys
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings
index 6ce2b1d0..b07df0e7 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings
@@ -630,6 +630,8 @@ SchemaHierarchy_ExternalResources = External Resources
SchemaHierarchy_ExternalTables = External Tables
+SchemaHierarchy_DroppedLedgerTables = Dropped Ledger Tables
+
SchemaHierarchy_AlwaysEncryptedKeys = Always Encrypted Keys
SchemaHierarchy_ColumnMasterKeys = Column Master Keys
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf
index 7e0720a3..ea7aa62d 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf
@@ -6321,6 +6321,11 @@ The Query Processor estimates that implementing the following index could improv
Ledger
+
+ Dropped Ledger Tables
+ Dropped Ledger Tables
+
+