Knight Data Access Layer
LoadTop(String,String,Int32) Method




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class > LoadTop Method : LoadTop(String,String,Int32) Method
The name of the table
Order by SQL Clause
The maximum records to retrieve
Get a limited number of records for a table
Syntax
Public Overloads Function LoadTop( _
   ByVal tableName As String, _
   ByVal orderBy As String, _
   ByVal maxRecords As Integer _
) As List(Of Dictionary(Of String,Object))
Dim instance As BaseDatabaseProvider
Dim tableName As String
Dim orderBy As String
Dim maxRecords As Integer
Dim value As List(Of Dictionary(Of String,Object))
 
value = instance.LoadTop(tableName, orderBy, maxRecords)

Parameters

tableName
The name of the table
orderBy
Order by SQL Clause
maxRecords
The maximum records to retrieve
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

BaseDatabaseProvider Class
BaseDatabaseProvider Members
Overload List