Bind Entity Bug

This commit is contained in:
sunkaixuan
2017-11-07 14:52:29 +08:00
parent abea4ad981
commit b1f772acda

View File

@@ -222,7 +222,7 @@ namespace SqlSugar
if (bindProperyTypeName.IsContainsIn("int", "int32")) if (bindProperyTypeName.IsContainsIn("int", "int32"))
method = isNullableType ? getConvertInt32 : getInt32; method = isNullableType ? getConvertInt32 : getInt32;
if (bindProperyTypeName.IsContainsIn("int64")) if (bindProperyTypeName.IsContainsIn("int64"))
method = isNullableType ? getConvertInt64 : getInt64; method = isNullableType ? getConvertInt32 : getInt32;
if (bindProperyTypeName.IsContainsIn("byte")) if (bindProperyTypeName.IsContainsIn("byte"))
method = isNullableType ? getConvertByte : getByte; method = isNullableType ? getConvertByte : getByte;
if (bindProperyTypeName.IsContainsIn("int16")) if (bindProperyTypeName.IsContainsIn("int16"))