Skip to content

Commit fee937a

Browse files
2881028810
authored andcommitted
update code
1 parent 35ea431 commit fee937a

File tree

3 files changed

+6
-20
lines changed

3 files changed

+6
-20
lines changed

FreeSql.DbContext/FreeSql.DbContext.xml

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FreeSql/Internal/Model/DbToCs.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public CsToDb(T type, string dbtype, string dbtypeFull, bool? isUnsigned, bool?
5151
}
5252
}
5353

54-
5554
public class DbInfoResult
5655
{
5756
public int type { get; }

Providers/FreeSql.Provider.SqlServer/FreeSql.Provider.SqlServer.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net46;net45;net40</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net451;net45;net40</TargetFrameworks>
55
<Version>1.7.0</Version>
66
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
77
<Authors>ncc;YeXiangQin</Authors>
@@ -25,15 +25,18 @@
2525
<None Include="../../logo.png" Pack="true" PackagePath="\" />
2626
</ItemGroup>
2727

28-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net46'">
28+
<ItemGroup Condition="'$(TargetFramework)' == 'net451'">
29+
<PackageReference Include="System.Data.SqlClient" Version="4.8.1" />
30+
</ItemGroup>
31+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
2932
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.0.0" />
3033
</ItemGroup>
3134

3235
<ItemGroup>
3336
<ProjectReference Include="..\..\FreeSql\FreeSql.csproj" />
3437
</ItemGroup>
3538

36-
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net46'">
39+
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
3740
<DefineConstants>microsoft</DefineConstants>
3841
</PropertyGroup>
3942
<PropertyGroup Condition="'$(TargetFramework)' == 'net40'">

0 commit comments

Comments
 (0)