SqlSet<TResult>.OrderBy Method

Sorts the elements of the set according to the columnList.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public SqlSet<TResult> OrderBy(
	string columnList,
	params Object[] parameters
)

Parameters

columnList

Type: System.String
The list of columns to base the sort on.

parameters

Type: System.Object[]
The parameters to apply to the columnList.

Return Value

Type: SqlSet<TResult>
A new SqlSet<TResult> whose elements are sorted according to columnList.

See Also

Reference

SqlSet<TResult> Class
DbExtensions Namespace

© Max Toro Q.