mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update bulkMege
This commit is contained in:
@@ -281,7 +281,7 @@ namespace SqlSugar
|
||||
{
|
||||
var isPrimaryKey = whereColumns.Any(it => it.EqualCase(item.ColumnName));
|
||||
var propertyType = item.DataType;
|
||||
if (!propertyType.IsClass())
|
||||
if (!propertyType.IsClass()&& propertyType!=typeof(string) && propertyType != typeof(byte[]))
|
||||
{
|
||||
propertyType=typeof(Nullable<>).MakeGenericType(UtilMethods.GetUnderType(item.DataType));
|
||||
}
|
||||
|
Reference in New Issue
Block a user