mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
Add more specific URI strings to Object Explorer (#1881)
* Added all non null properties to URI generator * Added all options to URI for session * added documentation comments * added generated nodeTypes file * added updated uri to connection store * Added debug message for integrated test failure * Revert "Added debug message for integrated test failure" This reverts commit 026c53d1ed3fb16b0f37b7b6e0775402a2ef9281. * added advanced options to table designer table * removed connectionName from uri generation * Revert "removed connectionName from uri generation" This reverts commit 88eedbbc593a0279872edc6d4cbd1b7ca3d72ad0. * added connectionname to connection details * added connection name to near front of key
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.ObjectExplorer
|
||||
ConnectedBindingContext connectedBindingContext = new ConnectedBindingContext();
|
||||
connectedBindingContext.ServerConnection = new ServerConnection(new SqlConnection(fakeConnectionString));
|
||||
connectedBindingQueue = new ConnectedBindingQueue(false);
|
||||
connectedBindingQueue.BindingContextMap.Add($"{details.ServerName}_{details.DatabaseName}_{details.UserName}_NULL", connectedBindingContext);
|
||||
connectedBindingQueue.BindingContextMap.Add($"{details.ServerName}_{details.DatabaseName}_{details.UserName}_NULL_persistSecurityInfo:true", connectedBindingContext);
|
||||
connectedBindingQueue.BindingContextTasks.Add(connectedBindingContext, Task.Run(() => null));
|
||||
mockConnectionOpener = new Mock<SqlConnectionOpener>();
|
||||
connectedBindingQueue.SetConnectionOpener(mockConnectionOpener.Object);
|
||||
|
||||
Reference in New Issue
Block a user