Performance optimization

This commit is contained in:
sunkaixuan 2017-08-26 13:21:22 +08:00
parent 3bc2593fcd
commit 0f2127a58e

View File

@ -258,7 +258,7 @@ namespace SqlSugar
case CSharpDataType.Guid:
CheckType(bind.GuidThrow, bindProperyTypeName, validPropertyName, propertyName);
if (bindProperyTypeName == "guid")
method = isNullableType ? getConvertStringGuid : getStringGuid;
method = isNullableType ? getConvertGuid : getStringGuid;
break;
case CSharpDataType.@byte:
if (bindProperyTypeName == "byte")