mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
-
This commit is contained in:
parent
4ec6f1d999
commit
6456484479
@ -68,7 +68,7 @@ namespace SqlSugar
|
||||
{
|
||||
CreateTable(item.Key);
|
||||
var addList = item.Select(it => it.Item).ToList();
|
||||
result += await FastestProvider.AS(item.Key).BulkUpdateAsync(addList);
|
||||
result += await FastestProvider.AS(item.Key).PageSize(this.PageSize).BulkUpdateAsync(addList);
|
||||
this.Context.MappingTables.Add(EntityInfo.EntityName, EntityInfo.DbTableName);
|
||||
}
|
||||
return result;
|
||||
@ -95,7 +95,7 @@ namespace SqlSugar
|
||||
foreach (var item in groupModels.GroupBy(it => it.GroupName))
|
||||
{
|
||||
var addList = item.Select(it => it.Item).ToList();
|
||||
result += await FastestProvider.AS(item.Key).BulkUpdateAsync(addList, wherColumns, updateColumns); ;
|
||||
result += await FastestProvider.AS(item.Key).PageSize(this.PageSize).BulkUpdateAsync(addList, wherColumns, updateColumns); ;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user