mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-17 19:37:34 +08:00
Performance optimization
This commit is contained in:
parent
0f2127a58e
commit
c78caadb84
@ -254,6 +254,8 @@ namespace SqlSugar
|
|||||||
CheckType(bind.DoubleThrow, bindProperyTypeName, validPropertyName, propertyName);
|
CheckType(bind.DoubleThrow, bindProperyTypeName, validPropertyName, propertyName);
|
||||||
if (bindProperyTypeName == "double")
|
if (bindProperyTypeName == "double")
|
||||||
method = isNullableType ? getConvertDouble : getDouble;
|
method = isNullableType ? getConvertDouble : getDouble;
|
||||||
|
if(bindProperyTypeName=="single")
|
||||||
|
method = isNullableType ? getConvertFloat : getFloat;
|
||||||
break;
|
break;
|
||||||
case CSharpDataType.Guid:
|
case CSharpDataType.Guid:
|
||||||
CheckType(bind.GuidThrow, bindProperyTypeName, validPropertyName, propertyName);
|
CheckType(bind.GuidThrow, bindProperyTypeName, validPropertyName, propertyName);
|
||||||
|
Loading…
Reference in New Issue
Block a user