Byte [] Bind bug

This commit is contained in:
sunkaixuan
2017-06-01 14:48:19 +08:00
parent 6f04aa8dd6
commit c863bc2851

View File

@@ -108,7 +108,7 @@ namespace SqlSugar
}
if (propertyInfo != null && propertyInfo.GetSetMethod() != null)
{
if (propertyInfo.PropertyType.IsClass())
if (propertyInfo.PropertyType.IsClass()&& propertyInfo.PropertyType!=PubConst.ByteArrayType)
{
BindClass(generator, result, propertyInfo);
}