mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Update Utils
This commit is contained in:
@@ -1170,6 +1170,10 @@ namespace SqlSugar
|
||||
{
|
||||
foreach (var item in sqlObj.Value.OrderByDescending(it => it.ParameterName.Length))
|
||||
{
|
||||
if (item.ParameterName.StartsWith(":")&&!result.Contains(item.ParameterName))
|
||||
{
|
||||
item.ParameterName = "@"+item.ParameterName.TrimStart(':');
|
||||
}
|
||||
if (connectionConfig.MoreSettings == null)
|
||||
{
|
||||
connectionConfig.MoreSettings = new ConnMoreSettings();
|
||||
|
Reference in New Issue
Block a user