mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-23 13:21:59 +08:00
Synchronization code
This commit is contained in:
@@ -830,7 +830,7 @@ namespace SqlSugar
|
||||
var changeValue = UtilMethods.ChangeType2(kv.Value, propertyInfo.PropertyType);
|
||||
propertyInfo.SetValue(addItem, changeValue);
|
||||
}
|
||||
if (kv.Value == DBNull.Value && UtilMethods.GetUnderType(propertyInfo.PropertyType).IsIn(typeof(int), typeof(long)))
|
||||
else if (kv.Value == DBNull.Value && UtilMethods.GetUnderType(propertyInfo.PropertyType).IsIn(typeof(int), typeof(long)))
|
||||
{
|
||||
|
||||
var changeValue = UtilMethods.ChangeType2(0, propertyInfo.PropertyType);
|
||||
|
||||
Reference in New Issue
Block a user