Reverting Connection URI related changes for stable release (#2042)

This commit is contained in:
Cheena Malhotra
2023-05-05 10:11:54 -07:00
committed by GitHub
parent ddb3ec2bdb
commit 1b5f774741
4 changed files with 10 additions and 64 deletions

View File

@@ -1831,14 +1831,9 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
private void UpdateTableTitleInfo(TableInfo tableInfo)
{
var td = GetTableDesigner(tableInfo);
var advancedOpsIndex = tableInfo.Tooltip.LastIndexOf('[');
var advancedOps = "";
if(advancedOpsIndex > -1){
advancedOps = " " + tableInfo.Tooltip.Substring(advancedOpsIndex);
}
tableInfo.Title = td.TableViewModel.FullName;
var tableParent = tableInfo.Server == null ? tableInfo.ProjectFilePath : string.Format("{0} - {1}", tableInfo.Server, tableInfo.Database);
tableInfo.Tooltip = string.Format("{0} - {1}{2}", tableParent, tableInfo.Title, advancedOps);
tableInfo.Tooltip = string.Format("{0} - {1}", tableParent, tableInfo.Title);
}
private Dictionary<string, string> GetMetadata(TableInfo tableInfo)