Public Function LoadPageWithChildren(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.LoadPageWithChildren(Of T)(pageNumber, pageSize, ascending)
Parameters
- pageNumber
- The page number, starting at 1
- pageSize
- The number of items to display in the page
- ascending
- If true the page is loaded in ascending order
Type Parameters
- T
- The object type
Return Value
A list of items for the page