RGQueryIRGOrderByExpressionTSourceSetOrder Method

Sorts the elements of a sequence according to a key.

Definition

Namespace: Recrovit.RecroGridFramework.Data
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.3.0.24.0115.1
C#
IOrderedQueryable<TSource> SetOrder(
	IQueryable<TSource> query,
	bool thenBy = false
)

Parameters

query  IQueryableTSource
The query.
thenBy  Boolean  (Optional)
if set to true [then by].

Return Value

IOrderedQueryableTSource
An System.Linq.IOrderedQueryable`1 whose elements are sorted according to a key.

See Also