Skip to content

Commit

Permalink
Synchronization code
Browse files Browse the repository at this point in the history
  • Loading branch information
DotNetNext committed Dec 3, 2023
1 parent ab4a472 commit 30df78e
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 30df78e

Please sign in to comment.