mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 14:04:44 +08:00
Synchronization code
This commit is contained in:
parent
957c46cc5b
commit
4e3a0e22fe
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user