Public Function LoadPage(Of T As {Class, New})( _ ByVal pageNumber As Integer, _ ByVal pageSize As Integer, _ ByVal ascending As Boolean _ ) As List(Of T)
Dim instance As NinjaDbPro Dim pageNumber As Integer Dim pageSize As Integer Dim ascending As Boolean Dim value As List(Of T) value = instance.LoadPage(Of T)(pageNumber, pageSize, ascending)
Parameters
- pageNumber
- The page number, starting at 1
- pageSize
- The number of items for each page
- ascending
- If true it is loaded by ascending
Type Parameters
- T
- The type of object to load
Return Value
A page of items