SelectQueryFluentBuilder.Top(Int32) Method
In This Article
Specifies the number of rows returned in the query result set.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
public SelectQueryFluentBuilder Top(
int top
)
#Parameters
Name | Type | Description |
---|---|---|
top | Int32 | A non-negative integer value, specifying the number of selected records (starting with the first data record). |
#Returns
Type | Description |
---|---|
Select |
A Select |
#Remarks
Use the SelectQueryFluentBuilder.SortBy method to predictably indicate which rows are affected by the Top method.
The default zero value indicates that all rows are selected.
See Also