mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
update nuget packages
This commit is contained in:
@ -43,9 +43,11 @@ namespace FreeSql.Firebird
|
||||
public override DbParameter[] GetDbParamtersByObject(string sql, object obj) =>
|
||||
Utils.GetDbParamtersByObject<DbParameter>(sql, obj, "@", (name, type, value) =>
|
||||
{
|
||||
var ret = new FbParameter { ParameterName = $"@{name}", Value = value };
|
||||
var ret = new FbParameter { ParameterName = $"@{name}" };
|
||||
var tp = _orm.CodeFirst.GetDbInfo(type)?.type;
|
||||
if (tp != null) ret.FbDbType = (FbDbType)tp.Value;
|
||||
else ret.FbDbType = FbDbType.Text;
|
||||
ret.Value = value;
|
||||
return ret;
|
||||
});
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="FirebirdSql.Data.FirebirdClient" Version="7.5.0" />
|
||||
<PackageReference Include="FirebirdSql.Data.FirebirdClient" Version="7.10.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -26,7 +26,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MySqlConnector" Version="1.2.0" />
|
||||
<PackageReference Include="MySqlConnector" Version="1.2.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -29,9 +29,13 @@
|
||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net461'">
|
||||
<PackageReference Include="Npgsql.LegacyPostgis" Version="4.1.6" />
|
||||
<PackageReference Include="Npgsql.NetTopologySuite" Version="4.1.6" />
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
||||
<PackageReference Include="Npgsql.LegacyPostgis" Version="5.0.1.1" />
|
||||
<PackageReference Include="Npgsql.NetTopologySuite" Version="5.0.1.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net461'">
|
||||
<PackageReference Include="Npgsql.LegacyPostgis" Version="4.1.7" />
|
||||
<PackageReference Include="Npgsql.NetTopologySuite" Version="4.1.7" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net452' or '$(TargetFramework)' == 'net451' or '$(TargetFramework)' == 'net45'">
|
||||
<PackageReference Include="Npgsql.LegacyPostgis" Version="4.0.11" />
|
||||
|
@ -29,7 +29,7 @@
|
||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.2" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net50'">
|
||||
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.1.0" />
|
||||
<PackageReference Include="Microsoft.Data.SqlClient" Version="2.1.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -26,7 +26,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.113.6" />
|
||||
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.113.7" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Reference in New Issue
Block a user