mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 20:57:58 +08:00
Synchronization code
This commit is contained in:
parent
671beadae7
commit
33a2de17aa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user