Code optimization

This commit is contained in:
sunkaixuan 2019-05-24 20:55:06 +08:00
parent 6afaf963ad
commit 1a0f80fdf6

View File

@ -267,6 +267,10 @@ namespace SqlSugar
{
method = getConvertValueMethod.MakeGenericMethod(bindPropertyType);
}
if (bindPropertyType == UtilConstants.IntType)
{
method = getConvertValueMethod.MakeGenericMethod(bindPropertyType);
}
break;
case CSharpDataType.Guid:
CheckType(bind.GuidThrow, bindProperyTypeName, validPropertyName, propertyName);