mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Synchronization code
This commit is contained in:
@@ -817,6 +817,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
propertyInfo.SetValue(addItem,null);
|
propertyInfo.SetValue(addItem,null);
|
||||||
}
|
}
|
||||||
|
else if (UtilMethods.GetUnderType(propertyInfo.PropertyType) == typeof(Guid) && kv.Value is string)
|
||||||
|
{
|
||||||
|
propertyInfo.SetValue(addItem, new Guid(kv.Value.ToString()));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
propertyInfo.SetValue(addItem, kv.Value);
|
propertyInfo.SetValue(addItem, kv.Value);
|
||||||
|
Reference in New Issue
Block a user