Performance optimization

This commit is contained in:
sunkaixuan 2017-08-26 13:57:33 +08:00
parent 0f2127a58e
commit c78caadb84

View File

@ -254,6 +254,8 @@ namespace SqlSugar
CheckType(bind.DoubleThrow, bindProperyTypeName, validPropertyName, propertyName);
if (bindProperyTypeName == "double")
method = isNullableType ? getConvertDouble : getDouble;
if(bindProperyTypeName=="single")
method = isNullableType ? getConvertFloat : getFloat;
break;
case CSharpDataType.Guid:
CheckType(bind.GuidThrow, bindProperyTypeName, validPropertyName, propertyName);