Update FastestProvider

This commit is contained in:
sunkaixuan 2025-06-03 18:49:20 +08:00
parent f4446e3556
commit 534a9fadd6
2 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,10 @@ namespace SqlSugar
{ {
if (Size > 0) if (Size > 0)
{ {
if (this.GetBuider()?.DbFastestProperties?.NoPage == true)
{
Size = int.MaxValue;
}
int resul=0; int resul=0;
await this.context.Utilities.PageEachAsync(datas, Size, async item => await this.context.Utilities.PageEachAsync(datas, Size, async item =>
{ {

View File

@ -14,5 +14,6 @@ namespace SqlSugar
public bool IsMerge { get; set; } public bool IsMerge { get; set; }
public bool IsNoCopyDataTable { get; set; } public bool IsNoCopyDataTable { get; set; }
public bool IsConvertDateTimeOffsetToDateTime { get; set; } public bool IsConvertDateTimeOffsetToDateTime { get; set; }
public bool NoPage { get; set; }
} }
} }