From 1bd284166d39ab6fdd905df3a87ff4d0e738ee38 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Thu, 6 Apr 2023 06:57:32 +0200 Subject: [PATCH] Fixed #42: Tapeti.Flow.SQL depends on system.data.sql --- Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs | 2 +- Tapeti.Flow.SQL/SqlExceptionHelper.cs | 2 +- Tapeti.Flow.SQL/SqlRetryHelper.cs | 2 +- Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs b/Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs index 3cc02af..8a387bf 100644 --- a/Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs +++ b/Tapeti.Flow.SQL/SqlConnectionFlowRepository.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Generic; using System.Data; -using System.Data.SqlClient; using System.Threading.Tasks; +using Microsoft.Data.SqlClient; using Newtonsoft.Json; // Neither of these are available in language version 7 required for .NET Standard 2.0 diff --git a/Tapeti.Flow.SQL/SqlExceptionHelper.cs b/Tapeti.Flow.SQL/SqlExceptionHelper.cs index dc00d31..693c9b2 100644 --- a/Tapeti.Flow.SQL/SqlExceptionHelper.cs +++ b/Tapeti.Flow.SQL/SqlExceptionHelper.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -using System.Data.SqlClient; using System.Linq; +using Microsoft.Data.SqlClient; // ReSharper disable UnusedMember.Global diff --git a/Tapeti.Flow.SQL/SqlRetryHelper.cs b/Tapeti.Flow.SQL/SqlRetryHelper.cs index 5db5b60..b38b498 100644 --- a/Tapeti.Flow.SQL/SqlRetryHelper.cs +++ b/Tapeti.Flow.SQL/SqlRetryHelper.cs @@ -1,6 +1,6 @@ using System; -using System.Data.SqlClient; using System.Threading.Tasks; +using Microsoft.Data.SqlClient; namespace Tapeti.Flow.SQL { diff --git a/Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj b/Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj index 0a4ca77..9650958 100644 --- a/Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj +++ b/Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj @@ -33,7 +33,7 @@ - +