mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-29 19:56:43 +08:00
Update page size split table
This commit is contained in:
parent
a6ff62f40f
commit
ab4a472efc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user