mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Merge branch 'master' of github.com:donet5/SqlSugar
This commit is contained in:
@@ -370,6 +370,7 @@ namespace SqlSugar
|
||||
else
|
||||
return Enum.ToObject(type, value);
|
||||
}
|
||||
if (value is string && type == typeof(Guid?)) return value.IsNullOrEmpty() ? null : (Guid?)new Guid(value as string);
|
||||
if (!type.IsInterface && type.IsGenericType)
|
||||
{
|
||||
Type innerType = type.GetGenericArguments()[0];
|
||||
|
Reference in New Issue
Block a user