If there are more than one connectionstring in ConfigurationManager.ConnectionStrings a dropdownlist (or any other suitable way of changing connectionstring) should be shown to the user. A typical use case is having both CMS and Commerce databases, and wanting to query both.
A postback should probably be done when the connectionstring is changed, at least the code updating autocomplete/intellisense must be run against the newly selected database.
The code updating autocomplete/intellisense is this part in SqlStudioController.cs:
If there are more than one connectionstring in
ConfigurationManager.ConnectionStrings
a dropdownlist (or any other suitable way of changing connectionstring) should be shown to the user. A typical use case is having both CMS and Commerce databases, and wanting to query both.A postback should probably be done when the connectionstring is changed, at least the code updating autocomplete/intellisense must be run against the newly selected database.
The code updating autocomplete/intellisense is this part in SqlStudioController.cs: