mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
5b44e4f2d2
commit
d182bda324
@ -153,12 +153,16 @@ namespace SqlSugar
|
||||
}
|
||||
else if (parameter?.BaseParameter?.CommonTempData.ObjToString() == "IsJson=true")
|
||||
{
|
||||
this.Context.Parameters.Add(new SugarParameter(appendValue, new SerializeService().SerializeObject(value)) { IsJson=true});
|
||||
this.Context.Parameters.Add(new SugarParameter(appendValue, new SerializeService().SerializeObject(value)) { IsJson = true });
|
||||
}
|
||||
else if (parameter?.BaseParameter?.CommonTempData.ObjToString() == "IsArray=true")
|
||||
{
|
||||
this.Context.Parameters.Add(new SugarParameter(appendValue, value) { IsArray = true });
|
||||
}
|
||||
else if (value!=null&&(value is Enum) &&this.Context?.SugarContext?.Context?.CurrentConnectionConfig?.MoreSettings?.TableEnumIsString == true)
|
||||
{
|
||||
this.Context.Parameters.Add(new SugarParameter(appendValue,Convert.ToString(value)));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Context.Parameters.Add(new SugarParameter(appendValue, value));
|
||||
|
Loading…
Reference in New Issue
Block a user