Overloads Function Search(Of T As {Class, New})( _ ByVal searchParameters As T, _ ByVal orderBy As String, _ ByVal page As Integer, _ ByVal pageSize As Integer _ ) As List(Of T)
Dim instance As IObjectCrud 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(Of T)(searchParameters, orderBy, page, pageSize)
List<T> Search<T>( T searchParameters, string orderBy, int page, int pageSize ) where T: class, new()
Parameters
- searchParameters
- What to search for
- orderBy
- Order by SQL Clause
- page
- The page of records to retrieve
- pageSize
- The number of records per page
Type Parameters
- T
- Generic class type