diff --git a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Interface/IQueryable.cs b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Interface/IQueryable.cs index afe3af60e..5288896ad 100644 --- a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Interface/IQueryable.cs +++ b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Interface/IQueryable.cs @@ -156,21 +156,21 @@ namespace SqlSugar Task> ToTreeAsync(Expression>> childListExpression, Expression> parentIdExpression, object rootValue); DataTable ToDataTable(); Task ToDataTableAsync(); - DataTable ToDataTablePage(int pageIndex, int pageSize); - Task ToDataTablePageAsync(int pageIndex, int pageSize); - DataTable ToDataTablePage(int pageIndex, int pageSize, ref int totalNumber); - DataTable ToDataTablePage(int pageIndex, int pageSize, ref int totalNumber,ref int totalPage); - Task ToDataTablePageAsync(int pageIndex, int pageSize, RefAsync totalNumber); - - List ToOffsetPage(int pageIndex,int pageSize); - List ToOffsetPage(int pageIndex, int pageSize,ref int totalNumber); - Task> ToOffsetPageAsync(int pageIndex, int pageSize); - Task> ToOffsetPageAsync(int pageIndex, int pageSize, RefAsync totalNumber); - List ToPageList(int pageIndex, int pageSize); - Task> ToPageListAsync(int pageIndex, int pageSize); - List ToPageList(int pageIndex, int pageSize, ref int totalNumber); - List ToPageList(int pageIndex, int pageSize, ref int totalNumber,ref int totalPage); - Task> ToPageListAsync(int pageIndex, int pageSize, RefAsync totalNumber); + DataTable ToDataTablePage(int pageNumber, int pageSize); + Task ToDataTablePageAsync(int pageNumber, int pageSize); + DataTable ToDataTablePage(int pageNumber, int pageSize, ref int totalNumber); + DataTable ToDataTablePage(int pageNumber, int pageSize, ref int totalNumber,ref int totalPage); + Task ToDataTablePageAsync(int pageNumber, int pageSize, RefAsync totalNumber); + + List ToOffsetPage(int pageNumber, int pageSize); + List ToOffsetPage(int pageNumber, int pageSize,ref int totalNumber); + Task> ToOffsetPageAsync(int pageNumber, int pageSize); + Task> ToOffsetPageAsync(int pageNumber, int pageSize, RefAsync totalNumber); + List ToPageList(int pageNumber, int pageSize); + Task> ToPageListAsync(int pageNumber, int pageSize); + List ToPageList(int pageNumber, int pageSize, ref int totalNumber); + List ToPageList(int pageNumber, int pageSize, ref int totalNumber,ref int totalPage); + Task> ToPageListAsync(int pageNumber, int pageSize, RefAsync totalNumber); ISugarQueryable WithCache(string cacheKey,int cacheDurationInSeconds = int.MaxValue); ISugarQueryable WithCache(int cacheDurationInSeconds = int.MaxValue); ISugarQueryable WithCacheIF(bool isCache, int cacheDurationInSeconds = int.MaxValue);