SelectQueryFluentBuilder.SortBy(String, ListSortDirection) Method
In This Article
Sorts the result set by a specified column in a required direction. This column is obtained from the last table added by the SelectQueryFluentBuilder.AddTable or SelectQueryFluentBuilder.Join method.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
public SelectQueryFluentBuilder SortBy(
string columnName,
ListSortDirection direction
)
#Parameters
Name | Type | Description |
---|---|---|
column |
String | A String value, specifying the column name. |
direction | List |
A List |
#Returns
Type | Description |
---|---|
Select |
A Select |
See Also