Knight Data Access Layer
LoadTop(String,Int32) Method




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

Parameters

tableName
The name of the table
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

IDatabaseProvider Interface
IDatabaseProvider Members
Overload List