mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Add 'LedgerViewType' as supported property for SQL 2022 and Azure DBs (#1801)
This commit is contained in:
@@ -921,6 +921,20 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.SmoModel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override IEnumerable<NodeSmoProperty> SmoProperties
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
var properties = new List<NodeSmoProperty>();
|
||||||
|
properties.Add(new NodeSmoProperty
|
||||||
|
{
|
||||||
|
Name = "LedgerViewType",
|
||||||
|
ValidFor = ValidForFlag.Sql2022|ValidForFlag.AzureV12
|
||||||
|
});
|
||||||
|
return properties;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected override void OnExpandPopulateFolders(IList<TreeNode> currentChildren, TreeNode parent)
|
protected override void OnExpandPopulateFolders(IList<TreeNode> currentChildren, TreeNode parent)
|
||||||
{
|
{
|
||||||
currentChildren.Add(new FolderNode {
|
currentChildren.Add(new FolderNode {
|
||||||
|
|||||||
@@ -106,6 +106,9 @@
|
|||||||
<Filter Property="IsSystemObject" Value="0" Type="bool" />
|
<Filter Property="IsSystemObject" Value="0" Type="bool" />
|
||||||
<Filter Property="IsDroppedLedgerView" Value="0" Type="bool" ValidFor="Sql2022|AzureV12"/>
|
<Filter Property="IsDroppedLedgerView" Value="0" Type="bool" ValidFor="Sql2022|AzureV12"/>
|
||||||
</Filters>
|
</Filters>
|
||||||
|
<Properties>
|
||||||
|
<Property Name="LedgerViewType" ValidFor="Sql2022|AzureV12"/>
|
||||||
|
</Properties>
|
||||||
<Child Name="SystemViews" IsSystemObject="1"/>
|
<Child Name="SystemViews" IsSystemObject="1"/>
|
||||||
<Child Name="DroppedLedgerViews"/>
|
<Child Name="DroppedLedgerViews"/>
|
||||||
</Node>
|
</Node>
|
||||||
|
|||||||
Reference in New Issue
Block a user