mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
BUG:Updateable(updateList).UpdateColumns(it=>it.Name).SplitTable().ExecuteCommandAsync()
This commit is contained in:
parent
94c7e53416
commit
743244bdd3
@ -42,6 +42,7 @@ namespace SqlSugar
|
||||
{
|
||||
var addList = item.Select(it => it.Item).ToList();
|
||||
result += await this.Context.Updateable(addList)
|
||||
.UpdateColumns(updateobj.UpdateBuilder.UpdateColumns?.ToArray())
|
||||
.IgnoreColumns(this.updateobj.UpdateBuilder.IsNoUpdateNull, this.updateobj.UpdateBuilder.IsOffIdentity, this.updateobj.UpdateBuilder.IsNoUpdateDefaultValue)
|
||||
.IgnoreColumns(GetIgnoreColumns()).AS(item.Key).ExecuteCommandAsync();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user