SelectQueryFluentBuilder.SortByExpression(String, ListSortDirection) Method
In This Article
Sorts the result set by a specified expression in a required direction.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
public SelectQueryFluentBuilder SortByExpression(
string expression,
ListSortDirection direction
)
#Parameters
Name | Type | Description |
---|---|---|
expression | String | A String value, specifying the sorting expression. |
direction | List |
A List |
#Returns
Type | Description |
---|---|
Select |
A Select |
See Also