From df0ca8239a220f0c22866bb0bf020d9841436465 Mon Sep 17 00:00:00 2001 From: AlexLEWIS Date: Wed, 11 Aug 2021 10:54:10 +0800 Subject: [PATCH] Updated Pagination (markdown) --- Pagination.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Pagination.md b/Pagination.md index ae2cc13..9f49f04 100644 --- a/Pagination.md +++ b/Pagination.md @@ -37,17 +37,17 @@ For `SqlServer 2012+` version, using the latest `fetch next rows` pagination; | Methods | Return | Parameters | Description | | ------------- | - | - | - | | ToSql | string | | Return the SQL statement to be executed | -| ToList | List\ | | 执行SQL查询,返回 T1 实体所有字段的记录,若存在导航属性则一起查询返回,记录不存在时返回 Count 为 0 的列表 | -| ToList\ | List\ | Lambda | 执行SQL查询,返回指定字段的记录,记录不存在时返回 Count 为 0 的列表 | -| ToList\ | List\ | string field | 执行SQL查询,返回 field 指定字段的记录,并以元组或基础类型(int,string,long)接收,记录不存在时返回 Count 为 0 的列表 | +| ToList | List\ | | Execute SQL query, and return the records of all the fields of the `T1` entity. If there are navigation properties, they will be queried and returned together. If the record does not exist, a list with `Count` of `0` will be returned. | +| ToList\ | List\ | Lambda | Execute SQL query, and return the record of the specified fields. If the record does not exist, a list with `Count` of `0` will be returned. | +| ToList\ | List\ | string field | Execute SQL query, and return the record of the specified fields of the parameters, and receive it as a tuple or basic type (`int`, `string`, `long`). If the record does not exist, a list with `Count` of `0` will be returned. | | 【Pagination】 | | Count | long | | Number of records queried | | Count | \ | out long | The number of records to be queried, returned in the form of parameter with `out` | | Skip | \ | int offset | Query the number of rows shifted backward | | Offset | \ | int offset | Query the number of rows shifted backward | -| Limit | \ | int limit | 查询多少条数据 | -| Take | \ | int limit | 查询多少条数据 | -| Page | \ | int pageIndex, int pageSize | 分页 | +| Limit | \ | int limit | Number of query data | +| Take | \ | int limit | Number of query data | +| Page | \ | int pageIndex, int pageSize | Pagination | ## 参考资料