Browse Source

MySql BOOL BUG

pull/12/MERGE
sunkaixuan 7 years ago
parent
commit
a34fb79bd1
  1. 4
      Src/Asp.NetCore/SqlServerTest/src/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs
  2. 4
      Src/Asp.NetCore/SqlServerTest/src/SqlSugar/Properties/AssemblyInfo.cs

4
Src/Asp.NetCore/SqlServerTest/src/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs

@ -67,6 +67,10 @@ namespace SqlSugar
{ {
this.DbType = System.Data.DbType.Single; this.DbType = System.Data.DbType.Single;
} }
else if (type == PubConst.BoolType)
{
this.DbType = System.Data.DbType.Boolean;
}
} }
public SugarParameter(string name, object value, bool isOutput) public SugarParameter(string name, object value, bool isOutput)
{ {

4
Src/Asp.NetCore/SqlServerTest/src/SqlSugar/Properties/AssemblyInfo.cs

@ -17,5 +17,5 @@ using System.Runtime.InteropServices;
// The following GUID is for the ID of the typelib if this project is exposed to COM // The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1c022a5c-4e4d-4026-a8a3-f659b9740a1a")] [assembly: Guid("1c022a5c-4e4d-4026-a8a3-f659b9740a1a")]
[assembly: AssemblyVersion("4.1.1.1")] [assembly: AssemblyVersion("4.1.1.2")]
[assembly: AssemblyFileVersion("4.1.1.1")] [assembly: AssemblyFileVersion("4.1.1.2")]

Loading…
Cancel
Save