Skip to content

Commit 10e553a

Browse files
committed
Switch to Microsoft.Data.SqlClient
Fixes #15636
1 parent d833afd commit 10e553a

36 files changed

+43
-52
lines changed

eng/Version.Details.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@
6161
<Uri>https://github.com/dotnet/corefx</Uri>
6262
<Sha>11eba7947e9736109c588a1cfcb77987cb80f570</Sha>
6363
</Dependency>
64-
<Dependency Name="System.Data.SqlClient" Version="4.7.0-preview6.19270.15" CoherentParentDependency="Microsoft.NETCore.App">
65-
<Uri>https://github.com/dotnet/corefx</Uri>
66-
<Sha>11eba7947e9736109c588a1cfcb77987cb80f570</Sha>
67-
</Dependency>
6864
<Dependency Name="System.Diagnostics.DiagnosticSource" Version="4.6.0-preview6.19270.15" CoherentParentDependency="Microsoft.NETCore.App">
6965
<Uri>https://github.com/dotnet/corefx</Uri>
7066
<Sha>11eba7947e9736109c588a1cfcb77987cb80f570</Sha>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<StyleCopAnalyzersPackageVersion>1.1.1-beta.61</StyleCopAnalyzersPackageVersion>
2828
<SystemInteractiveAsyncPackageVersion>3.2.0</SystemInteractiveAsyncPackageVersion>
2929
<BenchmarkDotNetPackageVersion>0.11.3</BenchmarkDotNetPackageVersion>
30+
<MicrosoftDataSqlClientPackageVersion>1.0.19128.1-Preview</MicrosoftDataSqlClientPackageVersion>
3031
</PropertyGroup>
3132
<PropertyGroup Label="Dependencies from aspnet/Extensions">
3233
<MicrosoftExtensionsCachingMemoryPackageVersion>3.0.0-preview6.19273.3</MicrosoftExtensionsCachingMemoryPackageVersion>
@@ -42,7 +43,6 @@
4243
<MicrosoftNETCorePlatformsPackageVersion>3.0.0-preview6.19270.15</MicrosoftNETCorePlatformsPackageVersion>
4344
<SystemCollectionsImmutablePackageVersion>1.6.0-preview6.19270.15</SystemCollectionsImmutablePackageVersion>
4445
<SystemComponentModelAnnotationsPackageVersion>4.6.0-preview6.19270.15</SystemComponentModelAnnotationsPackageVersion>
45-
<SystemDataSqlClientPackageVersion>4.7.0-preview6.19270.15</SystemDataSqlClientPackageVersion>
4646
<SystemDiagnosticsDiagnosticSourcePackageVersion>4.6.0-preview6.19270.15</SystemDiagnosticsDiagnosticSourcePackageVersion>
4747
</PropertyGroup>
4848
<PropertyGroup Label="Dependencies from dotnet/core-setup">

src/EFCore.SqlServer.NTS/Storage/Internal/SqlServerGeometryTypeMapping.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
using System;
55
using System.Data.Common;
6-
using System.Data.SqlClient;
76
using System.Data.SqlTypes;
87
using System.Reflection;
98
using System.Text;
109
using GeoAPI;
1110
using GeoAPI.Geometries;
1211
using JetBrains.Annotations;
12+
using Microsoft.Data.SqlClient; // Note: Hard reference to SqlClient here.
1313
using Microsoft.EntityFrameworkCore.SqlServer.Storage.ValueConversion.Internal;
1414
using Microsoft.EntityFrameworkCore.Storage;
1515
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

src/EFCore.SqlServer/EFCore.SqlServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<ItemGroup>
2323
<PackageReference Include="StyleCop.Analyzers" Version="$(StyleCopAnalyzersPackageVersion)" PrivateAssets="All" />
24-
<PackageReference Include="System.Data.SqlClient" Version="$(SystemDataSqlClientPackageVersion)" />
24+
<PackageReference Include="Microsoft.Data.SqlClient" Version="$(MicrosoftDataSqlClientPackageVersion)" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

src/EFCore.SqlServer/Extensions/SqlServerDbContextOptionsBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
using System;
55
using System.Data.Common;
6-
using System.Data.SqlClient;
76
using JetBrains.Annotations;
7+
using Microsoft.Data.SqlClient; // Note: Hard reference to SqlClient here.
88
using Microsoft.EntityFrameworkCore.Diagnostics;
99
using Microsoft.EntityFrameworkCore.Infrastructure;
1010
using Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal;

src/EFCore.SqlServer/Scaffolding/Internal/SqlServerDatabaseModelFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
using System.Collections.Generic;
66
using System.Data;
77
using System.Data.Common;
8-
using System.Data.SqlClient;
98
using System.Diagnostics;
109
using System.Globalization;
1110
using System.Linq;
1211
using System.Text;
1312
using System.Text.RegularExpressions;
1413
using JetBrains.Annotations;
14+
using Microsoft.Data.SqlClient; // Note: Hard reference to SqlClient here.
1515
using Microsoft.EntityFrameworkCore.Diagnostics;
1616
using Microsoft.EntityFrameworkCore.Metadata;
1717
using Microsoft.EntityFrameworkCore.Migrations;
@@ -570,7 +570,7 @@ private void GetColumns(
570570
[c].[is_identity],
571571
[dc].[definition] AS [default_sql],
572572
[cc].[definition] AS [computed_sql]
573-
FROM
573+
FROM
574574
(
575575
SELECT[v].[name], [v].[object_id], [v].[schema_id]
576576
FROM [sys].[views] v WHERE ";

src/EFCore.SqlServer/SqlServerRetryingExecutionStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
using System;
55
using System.Collections.Generic;
6-
using System.Data.SqlClient;
76
using JetBrains.Annotations;
7+
using Microsoft.Data.SqlClient; // Note: Hard reference to SqlClient here.
88
using Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal;
99
using Microsoft.EntityFrameworkCore.Storage;
1010

src/EFCore.SqlServer/Storage/Internal/SqlServerConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System.Data.Common;
5-
using System.Data.SqlClient;
65
using JetBrains.Annotations;
6+
using Microsoft.Data.SqlClient; // Note: Hard reference to SqlClient here.
77
using Microsoft.EntityFrameworkCore.Storage;
88
using Microsoft.Extensions.DependencyInjection;
99

src/EFCore.SqlServer/Storage/Internal/SqlServerDatabaseCreator.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
using System;
55
using System.Collections.Generic;
6-
using System.Data.SqlClient;
76
using System.Threading;
87
using System.Threading.Tasks;
98
using System.Transactions;
109
using JetBrains.Annotations;
10+
using Microsoft.Data.SqlClient; // Note: Hard reference to SqlClient here.
1111
using Microsoft.EntityFrameworkCore.Migrations;
1212
using Microsoft.EntityFrameworkCore.Migrations.Operations;
1313
using Microsoft.EntityFrameworkCore.SqlServer.Internal;
@@ -269,23 +269,23 @@ private static bool IsDoesNotExist(SqlException exception) =>
269269
private bool RetryOnExistsFailure(SqlException exception)
270270
{
271271
// This is to handle the case where Open throws (Number 233):
272-
// System.Data.SqlClient.SqlException: A connection was successfully established with the
272+
// Microsoft.Data.SqlClient.SqlException: A connection was successfully established with the
273273
// server, but then an error occurred during the login process. (provider: Named Pipes
274274
// Provider, error: 0 - No process is on the other end of the pipe.)
275275
// It appears that this happens when the database has just been created but has not yet finished
276276
// opening or is auto-closing when using the AUTO_CLOSE option. The workaround is to flush the pool
277277
// for the connection and then retry the Open call.
278278
// Also handling (Number -2):
279-
// System.Data.SqlClient.SqlException: Connection Timeout Expired. The timeout period elapsed while
279+
// Microsoft.Data.SqlClient.SqlException: Connection Timeout Expired. The timeout period elapsed while
280280
// attempting to consume the pre-login handshake acknowledgment. This could be because the pre-login
281281
// handshake failed or the server was unable to respond back in time.
282282
// And (Number 4060):
283-
// System.Data.SqlClient.SqlException: Cannot open database "X" requested by the login. The
283+
// Microsoft.Data.SqlClient.SqlException: Cannot open database "X" requested by the login. The
284284
// login failed.
285285
// And (Number 1832)
286-
// System.Data.SqlClient.SqlException: Unable to Attach database file as database xxxxxxx.
286+
// Microsoft.Data.SqlClient.SqlException: Unable to Attach database file as database xxxxxxx.
287287
// And (Number 5120)
288-
// System.Data.SqlClient.SqlException: Unable to open the physical file xxxxxxx.
288+
// Microsoft.Data.SqlClient.SqlException: Unable to open the physical file xxxxxxx.
289289
if (exception.Number == 233
290290
|| exception.Number == -2
291291
|| exception.Number == 4060

src/EFCore.SqlServer/Storage/Internal/SqlServerDateTimeTypeMapping.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
using System.Data;
55
using System.Data.Common;
6-
using System.Data.SqlClient;
76
using JetBrains.Annotations;
7+
using Microsoft.Data.SqlClient; // Note: Hard reference to SqlClient here.
88
using Microsoft.EntityFrameworkCore.Storage;
99

1010
namespace Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal

src/EFCore.SqlServer/Storage/Internal/SqlServerTimeSpanTypeMapping.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
using System.Data;
55
using System.Data.Common;
6-
using System.Data.SqlClient;
76
using JetBrains.Annotations;
7+
using Microsoft.Data.SqlClient; // Note: Hard reference to SqlClient here.
88
using Microsoft.EntityFrameworkCore.Storage;
99

1010
namespace Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal

src/EFCore.SqlServer/Storage/Internal/SqlServerTransientExceptionDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Data.SqlClient;
65
using JetBrains.Annotations;
6+
using Microsoft.Data.SqlClient; // Note: Hard reference to SqlClient here.
77

88
namespace Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal
99
{

test/EFCore.Design.Tests/TestUtilities/BuildSource.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ public class BuildSource
2424
BuildReference.ByName("System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"),
2525
BuildReference.ByName("System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"),
2626
BuildReference.ByName("System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"),
27-
BuildReference.ByName("System.Data.SqlClient", true),
27+
BuildReference.ByName("Microsoft.Data.SqlClient", true),
2828
BuildReference.ByName("System.Diagnostics.DiagnosticSource", true),
2929
BuildReference.ByName("System.ValueTuple", true)
3030
#elif NETCOREAPP3_0
3131
BuildReference.ByName("netstandard"),
3232
BuildReference.ByName("System.Collections"),
3333
BuildReference.ByName("System.ComponentModel.Annotations"),
3434
BuildReference.ByName("System.Data.Common"),
35-
BuildReference.ByName("System.Data.SqlClient"),
35+
BuildReference.ByName("Microsoft.Data.SqlClient"),
3636
BuildReference.ByName("System.Linq.Expressions"),
3737
BuildReference.ByName("System.Runtime"),
3838
BuildReference.ByName("System.Runtime.Extensions"),

test/EFCore.SqlServer.FunctionalTests/ConnectionSpecificationTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33

44
using System;
55
using System.Collections.Generic;
6-
using System.Data.SqlClient;
76
using System.Linq;
7+
using Microsoft.Data.SqlClient;
88
using Microsoft.EntityFrameworkCore.Diagnostics;
9-
using Microsoft.EntityFrameworkCore.Internal;
109
using Microsoft.EntityFrameworkCore.TestUtilities;
1110
using Microsoft.Extensions.Configuration;
1211
using Microsoft.Extensions.DependencyInjection;

test/EFCore.SqlServer.FunctionalTests/ExecutionStrategyTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private void Test_commit_failure(bool realFailure, Action<TestSqlServerRetryingE
112112
var retryMessage =
113113
"A transient exception has been encountered during execution and the operation will be retried after 0ms."
114114
+ Environment.NewLine +
115-
"System.Data.SqlClient.SqlException (0x80131904): Bang!";
115+
"Microsoft.Data.SqlClient.SqlException (0x80131904): Bang!";
116116
if (realFailure)
117117
{
118118
var logEntry = Fixture.TestSqlLoggerFactory.Log.Single(l => l.Id == CoreEventId.ExecutionStrategyRetrying);

test/EFCore.SqlServer.FunctionalTests/ExistingConnectionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
using System;
55
using System.Data;
6-
using System.Data.SqlClient;
76
using System.Threading.Tasks;
7+
using Microsoft.Data.SqlClient;
88
using Microsoft.EntityFrameworkCore.TestUtilities;
99
using Microsoft.Extensions.DependencyInjection;
1010
using Xunit;

test/EFCore.SqlServer.FunctionalTests/Query/DbFunctionsSqlServerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Data.SqlClient;
65
using System.Linq;
76
using System.Threading.Tasks;
7+
using Microsoft.Data.SqlClient;
88
using Microsoft.EntityFrameworkCore.SqlServer.Internal;
99
using Microsoft.EntityFrameworkCore.TestUtilities;
1010
using Microsoft.EntityFrameworkCore.TestUtilities.Xunit;

test/EFCore.SqlServer.FunctionalTests/Query/FromSqlQuerySqlServerTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System.Data.Common;
5-
using System.Data.SqlClient;
65
using System.Linq;
6+
using Microsoft.Data.SqlClient;
77
using Microsoft.EntityFrameworkCore.TestUtilities;
88
using Xunit;
99
using Xunit.Abstractions;
@@ -62,7 +62,7 @@ public override void FromSqlRaw_queryable_composed_after_removing_whitespaces()
6262
@"SELECT [c].[CustomerID], [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
6363
FROM (
6464
65-
65+
6666
6767
6868
SELECT

test/EFCore.SqlServer.FunctionalTests/Query/NavigationTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
using System;
55
using System.Collections.Generic;
6-
using System.Data.SqlClient;
76
using System.Linq;
7+
using Microsoft.Data.SqlClient;
88
using Microsoft.EntityFrameworkCore.TestUtilities;
99
using Microsoft.Extensions.DependencyInjection;
1010
using Xunit;

test/EFCore.SqlServer.FunctionalTests/Query/QueryBugsTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
using System.Collections.ObjectModel;
77
using System.ComponentModel.DataAnnotations;
88
using System.Data;
9-
using System.Data.SqlClient;
109
using System.Linq;
1110
using System.Linq.Expressions;
1211
using System.Reflection;
1312
using System.Text;
1413
using System.Threading.Tasks;
14+
using Microsoft.Data.SqlClient;
1515
using Microsoft.EntityFrameworkCore.Diagnostics;
1616
using Microsoft.EntityFrameworkCore.Infrastructure;
17-
using Microsoft.EntityFrameworkCore.Internal;
1817
using Microsoft.EntityFrameworkCore.Query.Internal;
1918
using Microsoft.EntityFrameworkCore.TestUtilities;
2019
using Microsoft.Extensions.Caching.Memory;

test/EFCore.SqlServer.FunctionalTests/Query/SqlExecutorSqlServerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System.Data.Common;
5-
using System.Data.SqlClient;
65
using System.Threading.Tasks;
6+
using Microsoft.Data.SqlClient;
77
using Microsoft.EntityFrameworkCore.TestUtilities;
88
using Xunit.Abstractions;
99

test/EFCore.SqlServer.FunctionalTests/SqlAzure/SqlAzureConnectionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System.Data;
5-
using System.Data.SqlClient;
5+
using Microsoft.Data.SqlClient;
66
using Microsoft.EntityFrameworkCore.SqlAzure.Model;
77
using Microsoft.EntityFrameworkCore.TestUtilities;
88
using Microsoft.EntityFrameworkCore.TestUtilities.Xunit;

test/EFCore.SqlServer.FunctionalTests/SqlServerDatabaseCreatorTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
using System;
55
using System.Data;
6-
using System.Data.SqlClient;
76
using System.Linq;
87
using System.Threading;
98
using System.Threading.Tasks;
9+
using Microsoft.Data.SqlClient;
1010
using Microsoft.EntityFrameworkCore.Infrastructure;
1111
using Microsoft.EntityFrameworkCore.SqlServer.Internal;
1212
using Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal;

test/EFCore.SqlServer.FunctionalTests/TestUtilities/SqlExceptionFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Data.SqlClient;
65
using System.Linq;
76
using System.Reflection;
7+
using Microsoft.Data.SqlClient;
88

99
namespace Microsoft.EntityFrameworkCore.TestUtilities
1010
{

test/EFCore.SqlServer.FunctionalTests/TestUtilities/SqlServerConditionAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Data.SqlClient;
65
using System.Linq;
6+
using Microsoft.Data.SqlClient;
77
using Microsoft.EntityFrameworkCore.TestUtilities.Xunit;
88
using Xunit.Sdk;
99

test/EFCore.SqlServer.FunctionalTests/TestUtilities/SqlServerConfiguredConditionAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Data.SqlClient;
65
using System.Runtime.InteropServices;
6+
using Microsoft.Data.SqlClient;
77
using Microsoft.EntityFrameworkCore.TestUtilities.Xunit;
88

99
namespace Microsoft.EntityFrameworkCore.TestUtilities

test/EFCore.SqlServer.FunctionalTests/TestUtilities/SqlServerTestHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
using System.Data.SqlClient;
4+
using Microsoft.Data.SqlClient;
55
using Microsoft.EntityFrameworkCore.Diagnostics;
66
using Microsoft.EntityFrameworkCore.Infrastructure;
77
using Microsoft.EntityFrameworkCore.Metadata;

test/EFCore.SqlServer.FunctionalTests/TestUtilities/SqlServerTestStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
using System.Collections.Generic;
66
using System.Data;
77
using System.Data.Common;
8-
using System.Data.SqlClient;
98
using System.IO;
109
using System.Linq;
1110
using System.Reflection;
1211
using System.Text.RegularExpressions;
1312
using System.Threading;
1413
using System.Threading.Tasks;
14+
using Microsoft.Data.SqlClient;
1515

1616
#pragma warning disable IDE0022 // Use block body for methods
1717
// ReSharper disable SuggestBaseTypeForParameter

test/EFCore.SqlServer.FunctionalTests/TestUtilities/TestEnvironment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Data.SqlClient;
65
using System.IO;
6+
using Microsoft.Data.SqlClient;
77
using Microsoft.Extensions.Configuration;
88

99
namespace Microsoft.EntityFrameworkCore.TestUtilities

test/EFCore.SqlServer.FunctionalTests/TestUtilities/TestSqlServerRetryingExecutionStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Data.SqlClient;
5+
using Microsoft.Data.SqlClient;
66
using Microsoft.EntityFrameworkCore.Storage;
77

88
namespace Microsoft.EntityFrameworkCore.TestUtilities

test/EFCore.SqlServer.Tests/Migrations/SqlServerHistoryRepositoryTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System;
5-
using System.Data.SqlClient;
5+
using Microsoft.Data.SqlClient;
66
using Microsoft.EntityFrameworkCore.Infrastructure;
77
using Microsoft.EntityFrameworkCore.TestUtilities;
88
using Xunit;

0 commit comments

Comments
 (0)