Skip to content

Commit

Permalink
Fix Programmability not being available for Fabric DW and Synapse SQL…
Browse files Browse the repository at this point in the history
… Serverless pools (#2407)
  • Loading branch information
cgettys-microsoft authored Oct 18, 2024
1 parent afbc7d2 commit 4a81b0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ protected override void OnExpandPopulateFolders(IList<TreeNode> currentChildren,
NodeValue = SR.SchemaHierarchy_Programmability,
NodeTypeId = NodeTypes.Programmability,
IsSystemObject = false,
ValidFor = ValidForFlag.NotSqlDemand,
ValidFor = ValidForFlag.All,
SortPriority = SmoTreeNode.NextSortPriority,
});
currentChildren.Add(new FolderNode {
Expand Down Expand Up @@ -1168,7 +1168,7 @@ protected override void OnExpandPopulateFolders(IList<TreeNode> currentChildren,
NodeValue = SR.SchemaHierarchy_Programmability,
NodeTypeId = NodeTypes.ExpandableSchemaProgrammability,
IsSystemObject = false,
ValidFor = ValidForFlag.NotSqlDemand,
ValidFor = ValidForFlag.All,
SortPriority = SmoTreeNode.NextSortPriority,
});
}
Expand Down Expand Up @@ -1622,7 +1622,7 @@ protected override void OnExpandPopulateFolders(IList<TreeNode> currentChildren,
NodeValue = SR.SchemaHierarchy_Functions,
NodeTypeId = NodeTypes.Functions,
IsSystemObject = false,
ValidFor = ValidForFlag.NotSqlDemand,
ValidFor = ValidForFlag.All,
SortPriority = SmoTreeNode.NextSortPriority,
});
}
Expand Down Expand Up @@ -1758,7 +1758,7 @@ protected override void OnExpandPopulateFolders(IList<TreeNode> currentChildren,
NodeValue = SR.SchemaHierarchy_Functions,
NodeTypeId = NodeTypes.Functions,
IsSystemObject = false,
ValidFor = ValidForFlag.NotSqlDemand,
ValidFor = ValidForFlag.All,
SortPriority = SmoTreeNode.NextSortPriority,
});
currentChildren.Add(new FolderNode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
</Node>

<Node Name="Synonyms" LocLabel="SR.SchemaHierarchy_Synonyms" BaseClass="ModelBased" Strategy="MultipleElementsOfType" NodeType="Synonym" ChildQuerierTypes="SqlSynonym" ValidFor="AllOnPrem|AzureV12"/>
<Node Name="Programmability" LocLabel="SR.SchemaHierarchy_Programmability" BaseClass="ModelBased" ValidFor="NotSqlDemand">
<Node Name="Programmability" LocLabel="SR.SchemaHierarchy_Programmability" BaseClass="ModelBased" ValidFor="All">
<Child Name="StoredProcedures" SettingsFlag="!GroupBySchema"/>
<Child Name="Functions" SettingsFlag="!GroupBySchema"/>
<Child Name="DatabaseTriggers"/>
Expand All @@ -165,7 +165,7 @@
-->
<Child Name="Sequences" SettingsFlag="!GroupBySchema"/>
</Node>
<Node Name="ExpandableSchemaProgrammability" LocLabel="SR.SchemaHierarchy_Programmability" BaseClass="ModelBased" ValidFor="NotSqlDemand">
<Node Name="ExpandableSchemaProgrammability" LocLabel="SR.SchemaHierarchy_Programmability" BaseClass="ModelBased" ValidFor="All">
<Child Name="StoredProcedures"/>
<Child Name="Functions"/>
<Child Name="Types"/>
Expand Down Expand Up @@ -329,7 +329,7 @@
<Child Name="Statistics"/>
</Node>

<Node Name="Functions" LocLabel="SR.SchemaHierarchy_Functions" BaseClass="ModelBased" ValidFor="NotSqlDemand">
<Node Name="Functions" LocLabel="SR.SchemaHierarchy_Functions" BaseClass="ModelBased" ValidFor="All">
<Child Name="SystemFunctions" IsSystemObject="1"/>
<Child Name="TableValuedFunctions"/>
<Child Name="ScalarValuedFunctions"/>
Expand Down

0 comments on commit 4a81b0c

Please sign in to comment.