Browse Source

Synchronization code

pull/31/head
sunkaixuan 2 years ago
parent
commit
791952b31b
  1. 1
      Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs
  2. 4
      Src/Asp.Net/SqlSugar/Properties/AssemblyInfo.cs
  3. 4
      Src/Asp.Net/SqlSugar/Realization/PostgreSQL/PostgreSQLProvider.cs
  4. 2
      Src/Asp.Net/SqlSugar/SqlSugar.nuspec

1
Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs

@ -278,5 +278,6 @@ namespace SqlSugar
public string TypeName { get; set; }
public bool IsJson { get; set; }
public bool IsArray { get; set; }
public object CustomDbType { get; set; }
}
}

4
Src/Asp.Net/SqlSugar/Properties/AssemblyInfo.cs

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.1.3.54")]
[assembly: AssemblyFileVersion("5.1.3.54")]
[assembly: AssemblyVersion("5.1.3.55")]
[assembly: AssemblyFileVersion("5.1.3.55")]

4
Src/Asp.Net/SqlSugar/Realization/PostgreSQL/PostgreSQLProvider.cs

@ -165,6 +165,10 @@ namespace SqlSugar
sqlParameter.DbType = System.Data.DbType.DateTime;
}
++index;
if (parameter.CustomDbType != null&& parameter.CustomDbType is NpgsqlDbType)
{
sqlParameter.NpgsqlDbType =((NpgsqlDbType)parameter.CustomDbType);
}
}
return result;
}

2
Src/Asp.Net/SqlSugar/SqlSugar.nuspec

@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugar</id>
<version>5.1.3.54</version>
<version>5.1.3.55</version>
<title>.Net Framework 安装此版本, 5.0.3.3-max 最低要求 .Net Framework 4.6 | 5.0.0.2-5.0.3.2 最低要求 .Net Framework 4.5 | 4.0-4.9.11 最低要求 .Net Framework 4.0+ .NET ORM </title>
<authors>sun kaixuan</authors>
<owners>landa</owners>

Loading…
Cancel
Save