This commit is contained in:
sunkaixuan 2018-11-27 00:55:38 +08:00
parent 0df6680397
commit 1e00e7e2f2
4 changed files with 4 additions and 4 deletions

View File

@ -266,7 +266,7 @@ namespace SqlSugar
method = isNullableType ? getConvertDouble : getDouble;
else
method = isNullableType ? getConvertFloat : getFloat;
if (dbTypeName == "float" && isNullableType && bindProperyTypeName == "single") {
if (dbTypeName.Equals("float",StringComparison.CurrentCultureIgnoreCase) && isNullableType && bindProperyTypeName.Equals("single",StringComparison.CurrentCultureIgnoreCase)) {
method = getConvertDoubleToFloat;
}
break;

View File

@ -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("4.9.2")]
[assembly: AssemblyFileVersion("4.9.2")]
[assembly: AssemblyVersion("4.9.3")]
[assembly: AssemblyFileVersion("4.9.3")]

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>sqlSugar</id>
<version>4.9.1</version>
<version>4.9.3</version>
<title>SqlSugar .Net Framework 4.0+ ORM </title>
<authors>sun kaixuan</authors>
<owners>landa</owners>