Table of Contents

Interface IPagedList<T>

Namespace
Biwen.QuickApi.UnitOfWork.Pagenation
Assembly
Biwen.QuickApi.dll

提供查询分页的接口 of T.

public interface IPagedList<T>

Type Parameters

T

The type for paging.

Extension Methods

Properties

HasNextPage

是否有下一页

bool HasNextPage { get; }

Property Value

bool

The has next page.

HasPreviousPage

是否有上一页

bool HasPreviousPage { get; }

Property Value

bool

The has previous page.

IndexFrom

获取索引开始值

int IndexFrom { get; }

Property Value

int

The index start value.

Items

获取当前页的数据 of T

IList<T> Items { get; }

Property Value

IList<T>

PageIndex

当前页码,从0开始

int PageIndex { get; }

Property Value

int

PageSize

每页显示的数量

int PageSize { get; }

Property Value

int

TotalCount

获取总数 of T

int TotalCount { get; }

Property Value

int

TotalPages

获取总页数

int TotalPages { get; }

Property Value

int