RGQueryRGOrderByExpressionTSource, TKeySetOrder Method

Sorts the elements of a sequence according to a key.

Definition

Namespace: Recrovit.RecroGridFramework.Data
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.1.0.24.0419.1
C#
public 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.

Implements

RGQueryIRGOrderByExpressionTSourceSetOrder(IQueryableTSource, Boolean)

See Also