mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-17 02:51:45 -05:00
This reverts commit 553b9af36e.
This commit is contained in:
@@ -43,20 +43,9 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.SmoModel
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
Table table = smoObject as Table;
|
Table table = smoObject as Table;
|
||||||
if (table != null)
|
if (table != null && IsPropertySupported("TemporalType", smoContext, table, CachedSmoProperties) && table.TemporalType != TableTemporalType.None)
|
||||||
{
|
{
|
||||||
if (IsPropertySupported("TemporalType", smoContext, table, CachedSmoProperties) && table.TemporalType != TableTemporalType.None)
|
return "Temporal";
|
||||||
{
|
|
||||||
return "Temporal";
|
|
||||||
}
|
|
||||||
else if (IsPropertySupported("IsEdge", smoContext, table, CachedSmoProperties) && table.IsEdge)
|
|
||||||
{
|
|
||||||
return "GraphEdge";
|
|
||||||
}
|
|
||||||
else if (IsPropertySupported("IsNode", smoContext, table, CachedSmoProperties) && table.IsNode)
|
|
||||||
{
|
|
||||||
return "GraphNode";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// TODO carbon issue 3125 enable "External" subtype once icon is ready. Otherwise will get missing icon here.
|
// TODO carbon issue 3125 enable "External" subtype once icon is ready. Otherwise will get missing icon here.
|
||||||
// else if (table != null && IsPropertySupported("IsExternal", smoContext, table, CachedSmoProperties) && table.IsExternal)
|
// else if (table != null && IsPropertySupported("IsExternal", smoContext, table, CachedSmoProperties) && table.IsExternal)
|
||||||
|
|||||||
Reference in New Issue
Block a user