mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-26 10:19:40 +08:00
Update page size split table
This commit is contained in:
@@ -66,7 +66,7 @@ namespace SqlSugar
|
||||
if (List.Count > pageSize)
|
||||
{
|
||||
var result = 0;
|
||||
this.Context.Utilities.PageEach(List, pageSize, async pageItem =>
|
||||
await this.Context.Utilities.PageEachAsync(List, pageSize, async pageItem =>
|
||||
{
|
||||
result +=await _ExecuteCommandAsync(pageItem);
|
||||
if (ActionCallBack != null)
|
||||
@@ -87,7 +87,7 @@ namespace SqlSugar
|
||||
if (List.Count > pageSize)
|
||||
{
|
||||
var result = 0;
|
||||
this.Context.Utilities.PageEach(List, pageSize, async pageItem =>
|
||||
await this.Context.Utilities.PageEachAsync(List, pageSize, async pageItem =>
|
||||
{
|
||||
result += await _ExecuteSqlBulkCopyAsync(pageItem);
|
||||
if (ActionCallBack != null)
|
||||
|
||||
Reference in New Issue
Block a user