SelectQueryFluentBuilder.SortBy(String, AggregationType) Method
In This Article
Sorts the result set by a specified column by applying an aggregate function. 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,
AggregationType aggregate
)
#Parameters
Name | Type | Description |
---|---|---|
column |
String | A String value, specifying the column name. |
aggregate | Aggregation |
An Aggregation |
#Returns
Type | Description |
---|---|
Select |
A Select |
See Also