mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update DbExtensions
This commit is contained in:
@@ -53,7 +53,7 @@ namespace SqlSugar
|
||||
if (!value.IsNullOrEmpty())
|
||||
{
|
||||
value = value.Replace("'", "''");
|
||||
if (value.IndexOf("+")>0&&value.IndexOf(@"\''")>0) value=value.Replace("\\","\\\\");
|
||||
if (value.IndexOf(")")>0&&value.IndexOf(@"\''")>0) value=value.Replace("\\","\\\\");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user