• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class PagingInfo

Class used as a utility to help manage paging in database queries.

Inheritance
System.Object
PagingInfo
Namespace: DotNetNuke.Entities.Urls
Assembly: DotNetNuke.dll
Syntax
public class PagingInfo : object

Constructors

| Improve this Doc View Source

PagingInfo(Int32, Int32)

Initializes a new instance of the PagingInfo class.

Declaration
public PagingInfo(int pageNumber, int pageSize)
Parameters
Type Name Description
System.Int32 pageNumber
System.Int32 pageSize

Properties

| Improve this Doc View Source

FirstRow

Class used as a utility to help manage paging in database queries.

Declaration
public int FirstRow { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IsLastPage

Class used as a utility to help manage paging in database queries.

Declaration
public bool IsLastPage { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LastRow

Class used as a utility to help manage paging in database queries.

Declaration
public int LastRow { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PageNumber

Class used as a utility to help manage paging in database queries.

Declaration
public int PageNumber { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PageSize

Class used as a utility to help manage paging in database queries.

Declaration
public int PageSize { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

TotalPages

Class used as a utility to help manage paging in database queries.

Declaration
public int TotalPages { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

TotalRows

Class used as a utility to help manage paging in database queries.

Declaration
public int TotalRows { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

UpdatePageResults(Int32, Int32, Int32, Int32)

Class used as a utility to help manage paging in database queries.

Declaration
public void UpdatePageResults(int firstRow, int lastRow, int totalRows, int totalPages)
Parameters
Type Name Description
System.Int32 firstRow
System.Int32 lastRow
System.Int32 totalRows
System.Int32 totalPages

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS