Public Function LoadPage( _ ByVal orderBy As String, _ ByVal page As Integer, _ ByVal pageSize As Integer _ ) As List(Of T)
Dim instance As BaseRepository(Of T) Dim orderBy As String Dim page As Integer Dim pageSize As Integer Dim value As List(Of T) value = instance.LoadPage(orderBy, page, pageSize)
Parameters
- orderBy
- Order by SQL Clause
- page
- The page number starting at 1
- pageSize
- The number of records per page