Method OrderBy
| Improve this Doc View SourceOrderBy(Func<T, ColumnSort>[])
Sorts this database recordset.
Declaration
public DbQuery<T> OrderBy(params Func<T, ColumnSort>[] fnOrderByList)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T, ColumnSort>[] | fnOrderByList | The order by list to sort. |
Returns
Type | Description |
---|---|
DbQuery<T> | The query which sorts this database recordset. |
OrderBy(Int32, Int32, Func<T, ColumnSort>[])
Sorts this database recordset.
Declaration
public DbQuery<T> OrderBy(int offset, int fetch, params Func<T, ColumnSort>[] fnOrderByList)
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. |
System.Func<T, ColumnSort>[] | fnOrderByList | The order by list to sort. |
Returns
Type | Description |
---|---|
DbQuery<T> | The query which sorts this database recordset. |
OrderBy(Func<T, ColumnSort[]>)
Sorts this database recordset.
Declaration
public DbQuery<T> OrderBy(Func<T, ColumnSort[]> fnOrderByList)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T, ColumnSort[]> | fnOrderByList | The order by list to sort. |
Returns
Type | Description |
---|---|
DbQuery<T> | The query which sorts this database recordset. |
OrderBy(Int32, Int32, Func<T, ColumnSort[]>)
Sorts this database recordset.
Declaration
public DbQuery<T> OrderBy(int offset, int fetch, Func<T, ColumnSort[]> fnOrderByList)
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. |
System.Func<T, ColumnSort[]> | fnOrderByList | The order by list to sort. |
Returns
Type | Description |
---|---|
DbQuery<T> | The query which sorts this database recordset. |