From 87ea866df038c7b927636d81f15f5a216e598e74 Mon Sep 17 00:00:00 2001
From: Jordan Hays <58005768+nofield@users.noreply.github.com>
Date: Wed, 10 Aug 2022 14:01:28 -0700
Subject: [PATCH] Dropped Ledger Views folder (#1626)
* adding dropped ledger views to the OE hierarchy with ledger view naming and icons
* updating tests
---
.../Localization/sr.cs | 11 ++++
.../Localization/sr.resx | 4 ++
.../Localization/sr.strings | 2 +
.../Localization/sr.xlf | 5 ++
.../ObjectExplorer/Nodes/NodeTypes.cs | 1 +
.../SmoModel/SmoTableCustomNode.cs | 43 +++++++++++++++
.../ObjectExplorer/SmoModel/SmoTreeNodes.cs | 53 +++++++++++++++++++
.../SmoModel/SmoTreeNodesDefinition.xml | 8 +++
.../SmoModel/SmoViewCustomNode.cs | 32 +++++++++++
.../Baselines/AllSqlObjects.txt | 20 +++----
.../ObjectExplorer/NodePathGeneratorTests.cs | 7 ++-
11 files changed, 174 insertions(+), 12 deletions(-)
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
index 566ab816..f9c924c9 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
@@ -2053,6 +2053,14 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
+ public static string SchemaHierarchy_DroppedLedgerViews
+ {
+ get
+ {
+ return Keys.GetString(Keys.SchemaHierarchy_DroppedLedgerViews);
+ }
+ }
+
public static string SchemaHierarchy_AlwaysEncryptedKeys
{
get
@@ -10656,6 +10664,9 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string SchemaHierarchy_DroppedLedgerTables = "SchemaHierarchy_DroppedLedgerTables";
+ public const string SchemaHierarchy_DroppedLedgerViews = "SchemaHierarchy_DroppedLedgerViews";
+
+
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 2c7ce566..3a455d25 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
@@ -1284,6 +1284,10 @@
Dropped Ledger Tables
+
+ Dropped Ledger Views
+
+
Always Encrypted Keys
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings
index b07df0e7..3f4d126b 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.strings
@@ -632,6 +632,8 @@ SchemaHierarchy_ExternalTables = External Tables
SchemaHierarchy_DroppedLedgerTables = Dropped Ledger Tables
+SchemaHierarchy_DroppedLedgerViews = Dropped Ledger Views
+
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 ea7aa62d..69951c84 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf
+++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.xlf
@@ -6326,6 +6326,11 @@ The Query Processor estimates that implementing the following index could improv
Dropped Ledger Tables
+
+ Dropped Ledger Views
+ Dropped Ledger Views
+
+