Method OrderBy
| Improve this Doc View SourceOrderBy(ColumnSort[])
Constructs SQL ORDER BY.
Declaration
public DbAggregateQueryBuilder OrderBy(params ColumnSort[] orderByList)
Parameters
Type | Name | Description |
---|---|---|
ColumnSort[] | orderByList | The order by list. |
Returns
Type | Description |
---|---|
DbAggregateQueryBuilder | This aggregate query builder for fluent coding. |
OrderBy(Int32, Int32, ColumnSort[])
Constructs SQL ORDER BY with specified offset and fetch.
Declaration
public DbAggregateQueryBuilder OrderBy(int offset, int fetch, params ColumnSort[] orderByList)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | offset | Specifies how many rows to skip within the query result. |
System.Int32 | fetch | Specifies how many rows to skip within the query result. |
ColumnSort[] | orderByList | The order by list. |
Returns
Type | Description |
---|---|
DbAggregateQueryBuilder | This aggregate query builder for fluent coding. |