mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-22 21:01:59 +08:00
Update exp to sql
This commit is contained in:
@@ -140,11 +140,19 @@ namespace SqlSugar
|
||||
inValues.Add(inStr);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (item is string &&item.HasValue() && model?.Conext?.SugarContext?.Context?.CurrentConnectionConfig?.DbType == DbType.MySql)
|
||||
{
|
||||
var newValue= item.ToString().Replace("\\", "\\\\");
|
||||
inValues.Add(newValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
inValues.Add(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
var value = model.Args[1].MemberName;
|
||||
string inValueString = null;
|
||||
var isNvarchar = model.Args.Count == 3;
|
||||
|
||||
Reference in New Issue
Block a user