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 (6)

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

Page

Gets the current page number (1-based).

Type: int

TotalPages

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

Type: int?