add net60 DateOnly mapping SqlServer

This commit is contained in:
2881099
2021-11-22 21:42:25 +08:00
parent 352ceceb23
commit b26a581f82
15 changed files with 50 additions and 26 deletions

View File

@ -29,7 +29,7 @@
<PackageReference Include="System.Data.SqlClient" Version="4.8.3" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net60' or '$(TargetFramework)' == 'net50'">
<PackageReference Include="Microsoft.Data.SqlClient" Version="3.0.1" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="4.0.0" />
</ItemGroup>
<ItemGroup>
@ -42,5 +42,8 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'net40'">
<DefineConstants>net40</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net60'">
<DefineConstants>net60;microsoft</DefineConstants>
</PropertyGroup>
</Project>