Enable changing database when connected with a connection string (#413)

This commit builds connection options using the connection string as a base, but allow other options to be overridden, which is how we change database. This commit also makes sure to copy the connection string when copying a connection, since that didn't happen before
This commit is contained in:
Matt Irvine
2017-07-14 13:24:00 -07:00
committed by GitHub
parent b78ca80d5b
commit b20529cced
3 changed files with 1119 additions and 1094 deletions

View File

@@ -42,7 +42,8 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.Contracts
MultiSubnetFailover = details.MultiSubnetFailover,
MultipleActiveResultSets = details.MultipleActiveResultSets,
PacketSize = details.PacketSize,
TypeSystemVersion = details.TypeSystemVersion
TypeSystemVersion = details.TypeSystemVersion,
ConnectionString = details.ConnectionString
};
}
}