Knight Data Access Layer
Search<T>(T,Int32) Method




KellermanSoftware.NetDataAccessLayer Namespace > IObjectCrud Interface > Search Method : Search<T>(T,Int32) Method
Generic class type
What to search for
The maximum records to retrieve
Search for records based on the passed in search object
Syntax
Overloads Function Search(Of T As {Class, New})( _
   ByVal searchParameters As T, _
   ByVal maxRecords As Integer _
) As List(Of T)
Dim instance As IObjectCrud
Dim searchParameters As T
Dim maxRecords As Integer
Dim value As List(Of T)
 
value = instance.Search(Of T)(searchParameters, maxRecords)
List<T> Search<T>( 
   T searchParameters,
   int maxRecords
)
where T: class, new()
List<T*>* Search<T>( 
   T* searchParameters,
   int maxRecords
) 
where T: ref class, gcnew()
List<T^>^ Searchgeneric<typename T>
( 
   T^ searchParameters,
   int maxRecords
) 
where T: ref class, gcnew()

Parameters

searchParameters
What to search for
maxRecords
The maximum records to retrieve

Type Parameters

T
Generic class type
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IObjectCrud Interface
IObjectCrud Members
Overload List