Merge branch 'dev' into bug/addGetSignatureHelpTest

This commit is contained in:
Connor Quagliana
2016-12-15 12:01:00 -08:00
committed by GitHub
51 changed files with 1613 additions and 219 deletions

View File

@@ -7,8 +7,10 @@ using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.IO;
using System.Reflection;
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlTools.ServiceLayer.Connection;
using Microsoft.SqlTools.ServiceLayer.Connection.Contracts;
using Microsoft.SqlTools.ServiceLayer.Credentials;
@@ -228,6 +230,12 @@ namespace Microsoft.SqlTools.Test.Utility
}
};
}
public static ServerConnection InitLiveServerConnectionForDefinition(ConnectionInfo connInfo)
{
SqlConnection sqlConn = new SqlConnection(ConnectionService.BuildConnectionString(connInfo.ConnectionDetails));
return new ServerConnection(sqlConn);
}
}
/// <summary>