Knight Data Access Layer
LoadTop<T>(Int32) Method




KellermanSoftware.NetDataAccessLayer Namespace > ObjectCrud Class > LoadTop Method : LoadTop<T>(Int32) Method
Generic class type
Number of records to retrieve
Load Top N Records
Syntax
Public Overloads Function LoadTop(Of T As {Class, New})( _
   ByVal records As Integer _
) As List(Of T)
Dim instance As ObjectCrud
Dim records As Integer
Dim value As List(Of T)
 
value = instance.LoadTop(Of T)(records)
public List<T> LoadTop<T>( 
   int records
)
where T: class, new()
public: List<T*>* LoadTop<T>( 
   int records
) 
where T: ref class, gcnew()
public:
List<T^>^ LoadTopgeneric<typename T>
( 
   int records
) 
where T: ref class, gcnew()

Parameters

records
Number of 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

ObjectCrud Class
ObjectCrud Members
Overload List