Skip to content

Commit

Permalink
chore: replace system.data.sqlclient by microsoft.data.sqlclient
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Ferreira committed Dec 12, 2023
1 parent 2fff8f6 commit b237f5d
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 12 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# User-specific stuff
.idea


# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
Expand Down Expand Up @@ -429,4 +430,7 @@ healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/

# macOS
.DS_Store

# End of https://www.gitignore.io/api/rider,linux,windows,visualstudio
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace KafkaFlow.Retry.Common.Sample.Helpers
{
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace KafkaFlow.Retry.IntegrationTests.Core.Bootstrappers
{
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.Threading.Tasks;
using Dawn;
using global::Microsoft.Extensions.Configuration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
Expand Down
2 changes: 1 addition & 1 deletion src/KafkaFlow.Retry.SqlServer/DbConnectionContext.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace KafkaFlow.Retry.SqlServer
{
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.Diagnostics.CodeAnalysis;
using Dawn;

Expand Down
2 changes: 1 addition & 1 deletion src/KafkaFlow.Retry.SqlServer/IDbConnection.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace KafkaFlow.Retry.SqlServer
{
using System;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;

internal interface IDbConnection : IDisposable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.1.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace KafkaFlow.Retry.SqlServer.Repositories
{
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using Dawn;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace KafkaFlow.Retry.SqlServer.Repositories
{
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.Threading.Tasks;
using Dawn;
using KafkaFlow.Retry.SqlServer.Model;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace KafkaFlow.Retry.SqlServer.Repositories
{
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using Dawn;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace KafkaFlow.Retry.SqlServer.Repositories
{
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.Threading.Tasks;
using KafkaFlow.Retry.Durable.Repository.Actions.Read;
using KafkaFlow.Retry.Durable.Repository.Model;
Expand Down
2 changes: 1 addition & 1 deletion src/KafkaFlow.Retry.SqlServer/RetrySchemaCreator.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace KafkaFlow.Retry.SqlServer
{
using System.Collections.Generic;
using System.Data.SqlClient;
using Microsoft.Data.SqlClient;
using System.Threading.Tasks;
using Dawn;
using KafkaFlow.Retry.SqlServer.Model.Schema;
Expand Down

0 comments on commit b237f5d

Please sign in to comment.