SelectQueryFluentBuilder.SortBy Method

Name Parameters Description
SortBy(String) columnName Sorts the result set by a specified column. This column is obtained from the last table added by the SelectQueryFluentBuilder.AddTable or SelectQueryFluentBuilder.Join method.
SortBy(String, AggregationType) columnName, aggregate 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.
SortBy(String, AggregationType, ListSortDirection) columnName, aggregate, direction Sorts the result set by a specified column in a required direction by applying an aggregate function. This column is obtained from the last table added by the SelectQueryFluentBuilder.AddTable or SelectQueryFluentBuilder.Join method.
SortBy(String, ListSortDirection) columnName, direction 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.
SortBy(String[]) columnNames Sorts the result set by specified columns. These columns are obtained from the last table added by the SelectQueryFluentBuilder.AddTable or SelectQueryFluentBuilder.Join method.