Public Function Search( _ ByVal searchParameters As T, _ ByVal orderBy As String, _ ByVal page As Integer, _ ByVal pageSize As Integer _ ) As List(Of T)
Dim instance As BaseRepository(Of T) Dim searchParameters As T Dim orderBy As String Dim page As Integer Dim pageSize As Integer Dim value As List(Of T) value = instance.Search(searchParameters, orderBy, page, pageSize)
Parameters
- searchParameters
- What to search for. Default values are not searched.
- orderBy
- Order by SQL Clause
- page
- The page number starting at 1
- pageSize
- The number of records per page