Click or drag to resize
CqlQueryExtensions.ThenByDescending<TSource, TKey> Method
Sorts the elements, which are returned from CqlQuery, in descending order according to a key.

Namespace: Dse.Data.Linq
Assembly: Dse (in Dse.dll) Version: 2.1.0
Syntax
C#
public static CqlQuery<TSource> ThenByDescending<TSource, TKey>(
	this CqlQuery<TSource> source,
	Expression<Func<TSource, TKey>> func
)

Parameters

source
Type: Dse.Data.Linq.CqlQuery<TSource>
func
Type: System.Linq.Expressions.Expression<Func<TSource, TKey>>

Type Parameters

TSource
TKey

Return Value

Type: CqlQuery<TSource>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CqlQuery<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also