From fe617e8fe62c3f6473bef9c2fde8c45ef4944221 Mon Sep 17 00:00:00 2001 From: Zack Moore <1731364+ormico@users.noreply.github.com> Date: Sun, 26 Nov 2023 22:30:59 -0500 Subject: [PATCH 1/2] upgrade common to latest --- .../Ormico.DbPatchManager.SqlServer.csproj | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/OrmicoDbPatchManagerSqlServer/Ormico.DbPatchManager.SqlServer/Ormico.DbPatchManager.SqlServer.csproj b/OrmicoDbPatchManagerSqlServer/Ormico.DbPatchManager.SqlServer/Ormico.DbPatchManager.SqlServer.csproj index 8cc2899..584d3da 100644 --- a/OrmicoDbPatchManagerSqlServer/Ormico.DbPatchManager.SqlServer/Ormico.DbPatchManager.SqlServer.csproj +++ b/OrmicoDbPatchManagerSqlServer/Ormico.DbPatchManager.SqlServer/Ormico.DbPatchManager.SqlServer.csproj @@ -1,4 +1,4 @@ -<Project Sdk="Microsoft.NET.Sdk"> +<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <PackageLicenseFile>LICENSE</PackageLicenseFile> @@ -34,9 +34,10 @@ <EmbeddedResource Include="SqlScripts\temp.sql" /> </ItemGroup> <ItemGroup> - <PackageReference Include="Dapper" Version="1.60.6" /> - <PackageReference Include="Ormico.DbPatchManager.Common" Version="1.0.0" /> - <PackageReference Include="Ormico.SqlGoSplitter" Version="1.0.0" /> + <PackageReference Include="Dapper" Version="2.1.24" /> + <PackageReference Include="Microsoft.Data.SqlClient" Version="5.1.2" /> + <PackageReference Include="Ormico.DbPatchManager.Common" Version="2.2.0" /> + <PackageReference Include="Ormico.SqlGoSplitter" Version="1.0.0.79" /> </ItemGroup> <ItemGroup> <None Include="..\..\LICENSE"> From 22aa192be4c8e633abb2706e61d587c1eb548a4d Mon Sep 17 00:00:00 2001 From: Zack Moore <1731364+ormico@users.noreply.github.com> Date: Sun, 26 Nov 2023 22:34:49 -0500 Subject: [PATCH 2/2] use Microsoft Sql instead of System Sql --- .../Ormico.DbPatchManager.SqlServer/SqlDatabase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OrmicoDbPatchManagerSqlServer/Ormico.DbPatchManager.SqlServer/SqlDatabase.cs b/OrmicoDbPatchManagerSqlServer/Ormico.DbPatchManager.SqlServer/SqlDatabase.cs index f109b64..1fe27ba 100644 --- a/OrmicoDbPatchManagerSqlServer/Ormico.DbPatchManager.SqlServer/SqlDatabase.cs +++ b/OrmicoDbPatchManagerSqlServer/Ormico.DbPatchManager.SqlServer/SqlDatabase.cs @@ -1,7 +1,7 @@ using Dapper; using System; using System.Collections.Generic; -using System.Data.SqlClient; +using Microsoft.Data.SqlClient; using System.IO; using System.Linq; using System.Reflection;