Revert to SMO with older SQLClient driver (#889)

* Revert "Update SMO (#875)"

This reverts commit 96593d66e3.

* Revert "Switch Tools Service to new SMO and Microsoft.Data.SqlClient driver (#865)"

This reverts commit 9d140b53f3.

* Bump SMO to 160.1910315.0-preview
This commit is contained in:
Karl Burtram
2019-11-04 13:00:45 -08:00
committed by GitHub
parent 84c505f647
commit b763abae47
130 changed files with 160 additions and 135 deletions

View File

@@ -8,7 +8,7 @@ using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using System.Globalization;
using System.Linq;
using System.Threading;

View File

@@ -5,7 +5,7 @@
using System.Data.Common;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using Microsoft.SqlTools.CoreServices.Connection.ReliableConnection;
public static class ConnectionUtils

View File

@@ -6,7 +6,7 @@
using System;
using System.Collections.Concurrent;
using System.Data;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Linq;
using Microsoft.SqlTools.Hosting.Utility;

View File

@@ -5,7 +5,7 @@
using System;
using System.Data;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using Microsoft.SqlTools.Hosting.Utility;
namespace Microsoft.SqlTools.CoreServices.Connection.ReliableConnection

View File

@@ -5,7 +5,7 @@
using System;
using System.Data;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using Microsoft.SqlTools.Hosting.Utility;
namespace Microsoft.SqlTools.CoreServices.Connection.ReliableConnection

View File

@@ -6,7 +6,7 @@
using System;
using System.Collections.Generic;
using System.Data;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;

View File

@@ -26,7 +26,7 @@
using System;
using System.Data;
using System.Data.Common;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using System.Diagnostics.Contracts;
namespace Microsoft.SqlTools.CoreServices.Connection.ReliableConnection

View File

@@ -27,7 +27,7 @@ using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Globalization;
using System.Text;

View File

@@ -3,7 +3,7 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using System.Diagnostics;
using Microsoft.SqlTools.Hosting.Utility;

View File

@@ -4,7 +4,7 @@
//
using System;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
namespace Microsoft.SqlTools.CoreServices.Connection.ReliableConnection
{

View File

@@ -3,7 +3,7 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
namespace Microsoft.SqlTools.CoreServices.Connection.ReliableConnection
{

View File

@@ -4,7 +4,7 @@
//
using System.Collections.Generic;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
namespace Microsoft.SqlTools.CoreServices.Connection.ReliableConnection
{

View File

@@ -3,7 +3,7 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
namespace Microsoft.SqlTools.CoreServices.Connection.ReliableConnection
{

View File

@@ -5,7 +5,7 @@
using System;
using System.Collections.Generic;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using System.Globalization;
using System.Linq;
using System.Text;

View File

@@ -24,7 +24,7 @@
// namespace Microsoft.SqlServer.Management.Common
using System;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Globalization;

View File

@@ -5,7 +5,7 @@
using System;
using System.Collections.Generic;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Microsoft.SqlTools.Hosting.Utility;

View File

@@ -4,7 +4,7 @@
//
using System;
using Microsoft.Data.SqlClient;
using System.Data.SqlClient;
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.SmoMetadataProvider;
using Microsoft.SqlServer.Management.SqlParser.Binder;

View File

@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../Common.props" />
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netstandard2.0</TargetFramework>
@@ -14,6 +15,8 @@
<Description>$(PackageDescription)</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.6.0" />
<PackageReference Include="Microsoft.SqlServer.SqlManagementObjects" Version="$(SmoPackageVersion)" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.0.4" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
@@ -27,4 +30,5 @@
<EmbeddedResource Include="Localization\sr.resx" />
<None Include="Localization\sr.strings" />
</ItemGroup>
<Import Project="..\sqltools.common.targets" />
</Project>