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 SourcePagingInfo(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 SourceFirstRow
Class used as a utility to help manage paging in database queries.
Declaration
public int FirstRow { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsLastPage
Class used as a utility to help manage paging in database queries.
Declaration
public bool IsLastPage { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastRow
Class used as a utility to help manage paging in database queries.
Declaration
public int LastRow { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PageNumber
Class used as a utility to help manage paging in database queries.
Declaration
public int PageNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PageSize
Class used as a utility to help manage paging in database queries.
Declaration
public int PageSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TotalPages
Class used as a utility to help manage paging in database queries.
Declaration
public int TotalPages { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 SourceUpdatePageResults(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 |