mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
Fix create db resource strings (#348)
* Hook up SMO call into create db handler * Clean-up resource strings * Few additional code clean-ups
This commit is contained in:
@@ -11,6 +11,26 @@ using Newtonsoft.Json;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.Test.Common
|
||||
{
|
||||
/// <summary>
|
||||
/// Class to handle loading test configuration settings
|
||||
///
|
||||
/// Example contents of file at default location ~/sqlConnectionSettings.json
|
||||
///
|
||||
/// {
|
||||
/// "mssql.connections": [
|
||||
/// {
|
||||
/// "server": "localhost",
|
||||
/// "database": "master",
|
||||
/// "authenticationType": "SqlLogin",
|
||||
/// "user": "sa",
|
||||
/// "password": "[putvaluehere]",
|
||||
/// "serverType":"OnPrem",
|
||||
/// "VersionKey": "defaultSql2016"
|
||||
/// }
|
||||
/// ]
|
||||
/// }
|
||||
///
|
||||
/// </summary>
|
||||
public sealed class TestConfigPersistenceHelper
|
||||
{
|
||||
private static string DefaultSettingFileName = Path.Combine(FileUtils.UserRootFolder, "sqlConnectionSettings.json");
|
||||
|
||||
Reference in New Issue
Block a user