mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-19 01:25:40 -05:00
Include inline functions as table-valued functions in Object Explorer (#594)
This commit is contained in:
@@ -324,6 +324,7 @@
|
||||
<Filters >
|
||||
<Filter Property="FunctionType" Type="Enum">
|
||||
<Value>UserDefinedFunctionType.Table</Value>
|
||||
<Value>UserDefinedFunctionType.Inline</Value>
|
||||
</Filter>
|
||||
<Filter Property="IsSystemObject" Value="0" Type="bool" />
|
||||
</Filters>
|
||||
@@ -332,6 +333,7 @@
|
||||
<Filters >
|
||||
<Filter Property="FunctionType" Type="Enum">
|
||||
<Value>UserDefinedFunctionType.Table</Value>
|
||||
<Value>UserDefinedFunctionType.Inline</Value>
|
||||
</Filter>
|
||||
<Filter Property="IsSystemObject" Value="1" Type="bool" />
|
||||
</Filters>
|
||||
|
||||
@@ -2723,7 +2723,8 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.SmoModel
|
||||
Type = typeof(Enum),
|
||||
Values = new List<object>
|
||||
{
|
||||
{ UserDefinedFunctionType.Table }
|
||||
{ UserDefinedFunctionType.Table },
|
||||
{ UserDefinedFunctionType.Inline }
|
||||
}
|
||||
});
|
||||
filters.Add(new NodeFilter
|
||||
@@ -2769,7 +2770,8 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.SmoModel
|
||||
Type = typeof(Enum),
|
||||
Values = new List<object>
|
||||
{
|
||||
{ UserDefinedFunctionType.Table }
|
||||
{ UserDefinedFunctionType.Table },
|
||||
{ UserDefinedFunctionType.Inline }
|
||||
}
|
||||
});
|
||||
filters.Add(new NodeFilter
|
||||
|
||||
Reference in New Issue
Block a user