mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Code optimization
This commit is contained in:
parent
5d4184a564
commit
6afaf963ad
@ -263,6 +263,10 @@ namespace SqlSugar
|
||||
if (dbTypeName.Equals("float",StringComparison.CurrentCultureIgnoreCase) && isNullableType && bindProperyTypeName.Equals("single",StringComparison.CurrentCultureIgnoreCase)) {
|
||||
method = getConvertDoubleToFloat;
|
||||
}
|
||||
if (bindPropertyType == UtilConstants.DecType)
|
||||
{
|
||||
method = getConvertValueMethod.MakeGenericMethod(bindPropertyType);
|
||||
}
|
||||
break;
|
||||
case CSharpDataType.Guid:
|
||||
CheckType(bind.GuidThrow, bindProperyTypeName, validPropertyName, propertyName);
|
||||
|
Loading…
Reference in New Issue
Block a user