mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Synchronization code
This commit is contained in:
parent
e0f5b0d0d9
commit
1f90bfa485
@ -20,7 +20,13 @@ namespace SqlSugar
|
||||
this.Context.ParameterIndex = newContext.ParameterIndex;
|
||||
if (newContext.Parameters.HasValue())
|
||||
{
|
||||
this.Context.Parameters.AddRange(newContext.Parameters);
|
||||
foreach (var p in newContext.Parameters)
|
||||
{
|
||||
if (!this.Context.Parameters.Any(it => it.ParameterName == p.ParameterName))
|
||||
{
|
||||
this.Context.Parameters.Add(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.Context.SingleTableNameSubqueryShortName == "Subqueryable()")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user