SelectSorter<T> Interface
Represents the executable SELECT
statement.
C#
public interface SelectSorter<T> : SelectTerminator<T>
where T : notnull
Type Parameters
- T
-
notnull
The type of the class representing any row of the result of the query.
- Implements
Methods
Order |
Executes the query and gets the result in the order sorted by the specified columns. |
Methods Detail
OrderBy(string[])
Executes the query and gets the result in the order sorted by the specified columns.
C#
SelectTerminator<T> OrderBy(params string[] columns)
Parameters
- columns
- string[]
The columns to sort the rows of the result by.
Returns
The T
objects representing the result of the
query.
Remarks
The result that this method returns represents that of SELECT
... FROM ... ORDER BY
columns
.