Adding Indexes of all types to OE indexes folder (#557)

This commit is contained in:
Leila Lali
2017-12-01 13:40:21 -08:00
committed by GitHub
parent 4174d5acaf
commit 864c4f60cd
3 changed files with 10 additions and 2 deletions

View File

@@ -1319,6 +1319,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.SmoModel
NodeType = "Folder",
NodeTypeId = NodeTypes.Keys,
IsSystemObject = false,
ValidFor = ValidForFlag.NotSqlDw,
SortPriority = SmoTreeNode.NextSortPriority,
});
currentChildren.Add(new FolderNode {
@@ -1602,7 +1603,9 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.SmoModel
ValidFor = ValidForFlag.Sql2016|ValidForFlag.Sql2017|ValidForFlag.AzureV12,
Values = new List<object>
{
{ IndexKeyType.None }
{ IndexKeyType.None },
{ IndexKeyType.DriPrimaryKey },
{ IndexKeyType.DriUniqueKey }
}
});
return filters;