From 8e53da578b9c9e2508af873f7a0fc2875a726f10 Mon Sep 17 00:00:00 2001 From: mohammad_hoseinzadehashraf_geeksltd Date: Fri, 15 Mar 2024 16:51:38 +0000 Subject: [PATCH] switch to Microsoft.Data.SqlClient --- Olive.Aws.Lambda.SQSEvents/Olive.Aws.Lambda.SQSEvents.csproj | 2 +- .../Olive.Entities.Data.SqlServer.csproj | 4 ++-- Olive.Entities.Data.SqlServer/SqlDataAccessExtensions.cs | 2 +- Olive.Entities.Data.SqlServer/SqlServerManager.cs | 2 +- .../Olive.Entities.Data.SqlServer.Tests.csproj | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Olive.Aws.Lambda.SQSEvents/Olive.Aws.Lambda.SQSEvents.csproj b/Olive.Aws.Lambda.SQSEvents/Olive.Aws.Lambda.SQSEvents.csproj index 9951a5952..969b7c0c8 100644 --- a/Olive.Aws.Lambda.SQSEvents/Olive.Aws.Lambda.SQSEvents.csproj +++ b/Olive.Aws.Lambda.SQSEvents/Olive.Aws.Lambda.SQSEvents.csproj @@ -2,7 +2,7 @@ netstandard2.1 - 2.1.1.0 + 3.0.0.0 enable diff --git a/Olive.Entities.Data.SqlServer/Olive.Entities.Data.SqlServer.csproj b/Olive.Entities.Data.SqlServer/Olive.Entities.Data.SqlServer.csproj index 4159b8d20..df3786640 100644 --- a/Olive.Entities.Data.SqlServer/Olive.Entities.Data.SqlServer.csproj +++ b/Olive.Entities.Data.SqlServer/Olive.Entities.Data.SqlServer.csproj @@ -1,12 +1,12 @@  netstandard2.0 - 2.1.122 + 3.0.0 - + diff --git a/Olive.Entities.Data.SqlServer/SqlDataAccessExtensions.cs b/Olive.Entities.Data.SqlServer/SqlDataAccessExtensions.cs index cd9eb8f1d..e02e66ff1 100644 --- a/Olive.Entities.Data.SqlServer/SqlDataAccessExtensions.cs +++ b/Olive.Entities.Data.SqlServer/SqlDataAccessExtensions.cs @@ -4,7 +4,7 @@ public static class SqlDataAccessExtensions { public static DataAccessOptions SqlServer(this DataAccessOptions @this) { - return @this.Add(); + return @this.Add(); } } } \ No newline at end of file diff --git a/Olive.Entities.Data.SqlServer/SqlServerManager.cs b/Olive.Entities.Data.SqlServer/SqlServerManager.cs index c4867c763..a524195c5 100644 --- a/Olive.Entities.Data.SqlServer/SqlServerManager.cs +++ b/Olive.Entities.Data.SqlServer/SqlServerManager.cs @@ -1,6 +1,6 @@ using System; using System.Data; -using System.Data.SqlClient; +using Microsoft.Data.SqlClient; using System.Diagnostics; using System.Linq; using System.Text.RegularExpressions; diff --git a/Tests/Olive.Entities.Data.SqlServer.Tests/Olive.Entities.Data.SqlServer.Tests.csproj b/Tests/Olive.Entities.Data.SqlServer.Tests/Olive.Entities.Data.SqlServer.Tests.csproj index 7cff3649e..41ffaf8f0 100644 --- a/Tests/Olive.Entities.Data.SqlServer.Tests/Olive.Entities.Data.SqlServer.Tests.csproj +++ b/Tests/Olive.Entities.Data.SqlServer.Tests/Olive.Entities.Data.SqlServer.Tests.csproj @@ -28,7 +28,7 @@ - +