Skip to content

PaginationDto ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

Represents pagination information for query results.

public

Contents ​

Constructors (1) | Methods (4) | Properties (7)

Constructors ​

PaginationDto ​

csharp
PaginationDto()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Take ​

Gets or sets the number of records taken.

Type: int?

Skip ​

Gets or sets the number of records skipped.

Type: int?

Total ​

Gets or sets the total number of records (if requested).

Type: long?

HasMore ​

Gets or sets a value indicating whether there are more records available.

Type: bool?

NextCursor ​

Gets or sets the cursor of the next page, for <c>$after</c>: null on the last page, or for a query that is not ordered by the table's own columns, or of a table without a key.

Type: string?

Page ​

Gets the current page number (1-based).

Type: int?

TotalPages ​

Gets the total number of pages (if total is available).

Type: int?