set URN metadata (#1947)

This commit is contained in:
Alan Ren
2023-03-15 20:56:05 -07:00
committed by GitHub
parent f59ca1954b
commit f6fbceb5a0

View File

@@ -65,6 +65,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.SmoModel
{
if (smoObject.Urn != null)
{
ObjectMetadata.Urn = smoObject.Urn.Value;
ObjectMetadata.MetadataTypeName = smoObject.Urn.Type;
}
}