Skip to content

TQueryLinqExtensions_Top_57rHqzstXaL699Chbj0blw

Jacob Spitzer edited this page Aug 28, 2022 · 2 revisions

TQueryLinqExtensions.Top<Table>(DbEc<Table>, int) Method

Returns a specified number of contiguous records from the start of a TQuery recordset.

public static DbEasyConnect.DbEc<Table> Top<Table>(this DbEasyConnect.DbEc<Table> tQuery, int count);

Type parameters

Table
The type of the records of table class. need to be a class with the [Table("")] attribute.

Parameters

tQuery DbEasyConnect.DbEc<Table>
An DbEc<T> that contains the queryable table to apply the predicate to.

count System.Int32
The number of records to return.

Returns

DbEasyConnect.DbEc<Table>
An DbEc<T> that contains the specified number of records from the start of TQuery recordset.

Clone this wiki locally