mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 14:04:44 +08:00
Synchronization code
This commit is contained in:
parent
b65f73894c
commit
c86cf9e514
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user