Skip to content

Commit

Permalink
Update page size split table
Browse files Browse the repository at this point in the history
  • Loading branch information
DotNetNext committed Dec 3, 2023
1 parent a6ff62f commit ab4a472
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public async Task<int> ExecuteCommandAsync()
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)
Expand All @@ -87,7 +87,7 @@ public async Task<int> ExecuteSqlBulkCopyAsync()
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)
Expand Down

0 comments on commit ab4a472

Please sign in to comment.