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