|
Joutsen Persistence v0.3.0+1-ga730d6d
|
A class that can be used to request a page of items from a repository. More...
Public Member Functions | |
| PageRequest (int pageNumber, int resultsPerPage, bool fetchTotalcount) | |
| Creates a new instance. More... | |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| PageRequest | Clone () |
Properties | |
| int | PageNumber [get, set] |
| The number of the page to retrieve. More... | |
| int | ResultsPerPage [get, set] |
| The number of results on the page. More... | |
| int | FirstResultOfPageIndex [get] |
| The absolute index of the first element on the page. More... | |
| bool | FetchTotalCount [get, set] |
| Determines if only the items on the page should be retrieved or if also the total number of items. More... | |
A class that can be used to request a page of items from a repository.
| Joutsen.Persistence.PageRequest.PageRequest | ( | int | pageNumber, |
| int | resultsPerPage, | ||
| bool | fetchTotalcount | ||
| ) |
Creates a new instance.
| pageNumber | the number of the page |
| resultsPerPage | the size of the page in number of items |
| fetchTotalcount | determines if only the items should be retrieved or if also the total number of items |
| PageRequest Joutsen.Persistence.PageRequest.Clone | ( | ) |
| override bool Joutsen.Persistence.PageRequest.Equals | ( | object | obj | ) |
| override int Joutsen.Persistence.PageRequest.GetHashCode | ( | ) |
|
getset |
Determines if only the items on the page should be retrieved or if also the total number of items.
|
get |
The absolute index of the first element on the page.
|
getset |
The number of the page to retrieve.
|
getset |
The number of results on the page.