mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 修复 DbContext SaveMany 对比删除的 bug;
This commit is contained in:
@ -267,8 +267,8 @@ namespace FreeSql
|
||||
curContains.Add(curIdx);
|
||||
}
|
||||
if (curContains.Any())
|
||||
foreach (var curIdx in curContains)
|
||||
curList.RemoveAt(curIdx);
|
||||
for (var delIdx = curContains.Count - 1; delIdx >= 0; delIdx--)
|
||||
curList.RemoveAt(curContains[delIdx]);
|
||||
else
|
||||
midListDel.Add(midItem);
|
||||
}
|
||||
|
Reference in New Issue
Block a user