Merge pull request #205 from mgolois/upgrade-sqlclient-driver-to-Microsoft.Data.SqlClient
upgraded project to use the Microsoft.Data.SqlClient for .netstandard2.0
This commit is contained in:
Коммит
9ce761459b
|
@ -1,7 +1,7 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26730.10
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29709.97
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.SqlDatabase.ElasticScale.Client", "Src\ElasticScale.Client\Microsoft.Azure.SqlDatabase.ElasticScale.Client.csproj", "{4C3B3EC4-5702-469E-800E-313FB27A0A2B}"
|
||||
EndProject
|
||||
|
|
|
@ -1,27 +1,17 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net451</TargetFrameworks>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Build.props))\Build.props" />
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Dapper" version="1.36" />
|
||||
<PackageReference Include="DapperExtensions" version="1.4.4" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling" version="6.0.1304.0" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data" version="6.0.1304.1" />
|
||||
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" version="2.0.0" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<PackageReference Include="Dapper" Version="2.0.30" />
|
||||
<PackageReference Include="DapperExtensions.DotnetCore" Version="1.0.1" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data.NetCore" Version="6.0.1312" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.NetCore" Version="6.0.1312" />
|
||||
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.3.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,26 +1,16 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net451</TargetFrameworks>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Build.props))\Build.props" />
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="EntityFramework" Version="6.1.0" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling" Version="6.0.1304.0" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data" Version="6.0.1304.1" />
|
||||
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.0.0" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data.NetCore" Version="6.0.1312" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.NetCore" Version="6.0.1312" />
|
||||
<PackageReference Include="EntityFramework" Version="6.4.0" />
|
||||
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.3.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,28 +1,11 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net451</TargetFrameworks>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Build.props))\Build.props" />
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="EntityFramework" Version="6.1.0" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling" Version="6.0.1304.0" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data" Version="6.0.1304.1" />
|
||||
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.0.0" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="ApplySqlToShards.ps1" />
|
||||
|
@ -33,4 +16,11 @@
|
|||
<Content Include="EnableRLS.sql" />
|
||||
<Content Include="RemoveRLS.sql" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data.NetCore" Version="6.0.1312" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.NetCore" Version="6.0.1312" />
|
||||
<PackageReference Include="EntityFramework" Version="6.4.0" />
|
||||
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.3.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -1,23 +1,16 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net451</TargetFrameworks>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Build.props))\Build.props" />
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling" Version="6.0.1304.0" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data" Version="6.0.1304.1" />
|
||||
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.0.0" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.Data.NetCore" Version="6.0.1312" />
|
||||
<PackageReference Include="EnterpriseLibrary.TransientFaultHandling.NetCore" Version="6.0.1312" />
|
||||
<PackageReference Include="EntityFramework" Version="6.4.0" />
|
||||
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" Version="2.3.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net451</TargetFrameworks>
|
||||
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -8,13 +9,10 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Azure.SqlDatabase.ElasticScale.Client" version="2.0.0" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="LICENSE" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -12,7 +12,11 @@
|
|||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale
|
||||
{
|
||||
|
|
|
@ -12,7 +12,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
|
|
@ -19,14 +19,10 @@
|
|||
<RuntimeIdentifiers>win;unix</RuntimeIdentifiers>
|
||||
<RootNamespace>Microsoft.Azure.SqlDatabase.ElasticScale</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('build.props'))" />
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('strongname.props'))" />
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
|
||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="Properties\Icon.png" Pack="true" PackagePath="\"/>
|
||||
<Compile Update="ShardManagement\Errors.Designer.cs">
|
||||
|
@ -52,4 +48,10 @@
|
|||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
|
||||
<PackageReference Include="Microsoft.Data.SqlClient">
|
||||
<Version>1.1.1</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -16,7 +16,7 @@ using System.Runtime.InteropServices;
|
|||
[assembly: InternalsVisibleTo("Microsoft.Azure.SqlDatabase.ElasticScale.Query.UnitTests, PublicKey=00240000048000009400000006020000002400005253413100040000010001007d813b35eaf89b7ae4be8a49086058380e083b58752b0a3a8323157e68b4b0f9fd78d2fe75e9ec253d8bb2225637d4c2393234e0f877bfddd7907eda8293083b7f4dbc664f09f6b62ce74266a4e79002783252559f5b23cfc682eb79b51a5f5d16dca2364413ae563b3ab6db2fc9da3ced11f9eef50421b982dfc3a08cb635a8")]
|
||||
[assembly: InternalsVisibleTo("Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.UnitTests, PublicKey=00240000048000009400000006020000002400005253413100040000010001007d813b35eaf89b7ae4be8a49086058380e083b58752b0a3a8323157e68b4b0f9fd78d2fe75e9ec253d8bb2225637d4c2393234e0f877bfddd7907eda8293083b7f4dbc664f09f6b62ce74266a4e79002783252559f5b23cfc682eb79b51a5f5d16dca2364413ae563b3ab6db2fc9da3ced11f9eef50421b982dfc3a08cb635a8")]
|
||||
|
||||
[assembly: CLSCompliant(true)]
|
||||
//[assembly: CLSCompliant(true)]
|
||||
|
||||
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1824:MarkAssembliesWithNeutralResourcesLanguage", Justification = "Too many dubious spelling errors.")]
|
||||
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -11,7 +11,11 @@
|
|||
|
||||
using System;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.Query
|
||||
|
|
|
@ -16,7 +16,11 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Contracts;
|
||||
using System.IO;
|
||||
|
|
|
@ -12,7 +12,11 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Linq;
|
||||
using Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement;
|
||||
|
||||
|
|
|
@ -17,7 +17,11 @@ using System.Collections.Concurrent;
|
|||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Contracts;
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Constructs instance of Sql Store Connection.
|
||||
|
|
|
@ -4,7 +4,11 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Factory for store connections.
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Linq;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Linq;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Linq;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Linq;
|
||||
using System.Diagnostics;
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Linq;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
{
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Linq;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Linq;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
|
||||
|
|
|
@ -5,7 +5,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
#if NETFRAMEWORK
|
||||
using System.Data.SqlClient;
|
||||
#else
|
||||
using Microsoft.Data.SqlClient;
|
||||
#endif
|
||||
using System.Data.SqlTypes;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net451;netstandard2.0</TargetFrameworks>
|
||||
<TargetFrameworks>netstandard2.0</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('build.props'))" />
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('strongname.props'))" />
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />
|
||||
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
|
||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.1" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -4,7 +4,7 @@
|
|||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ClientTestCommon
|
||||
{
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Diagnostics;
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net452;netcoreapp2.0</TargetFrameworks>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('build.props'))" />
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('strongname.props'))" />
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
|
||||
<PackageReference Include="MSTest.TestAdapter" Version="1.1.18" />
|
||||
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />
|
||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
|
||||
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" />
|
||||
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
|
||||
<PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Src\ElasticScale.Client\Microsoft.Azure.SqlDatabase.ElasticScale.Client.csproj" />
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
<ItemGroup>
|
||||
<Compile Update="MockSqlCommand.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Update="MockSqlConnection.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -7,7 +7,7 @@
|
|||
using System;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ using System.Linq;
|
|||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Diagnostics;
|
||||
#if NETFRAMEWORK
|
||||
using System.Runtime.Remoting;
|
||||
|
|
|
@ -17,7 +17,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Data.SqlTypes;
|
||||
using System.Security;
|
||||
using System.Text;
|
||||
|
|
|
@ -5,7 +5,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Security;
|
||||
|
||||
namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.UnitTests
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net451;netcoreapp2.0</TargetFrameworks>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
<NoWarn>0649;$(NoWarn)</NoWarn>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('build.props'))" />
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove('strongname.props'))" />
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
|
||||
<PackageReference Include="MSTest.TestAdapter" Version="1.1.18" />
|
||||
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />
|
||||
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
|
||||
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" />
|
||||
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Src\ElasticScale.Client\Microsoft.Azure.SqlDatabase.ElasticScale.Client.csproj" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Recovery;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
|
|
@ -5,7 +5,7 @@ using Microsoft.Azure.SqlDatabase.ElasticScale.Test.Common;
|
|||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.UnitTests.Stubs;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using Microsoft.Azure.SqlDatabase.ElasticScale.Test.Common;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ using Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Recovery;
|
|||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Runtime.Serialization.Formatters.Binary;
|
||||
using Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.UnitTests.Stubs;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
using Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Recovery;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using Microsoft.Azure.SqlDatabase.ElasticScale.Test.Common;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.UnitTests.Stubs;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче