CqlQueryExtensionsThenByTSource, TKey Method |
Sorts the elements, which are returned from CqlQuery, in ascending order according to a key.
Namespace: Cassandra.Data.LinqAssembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax public static CqlQuery<TSource> ThenBy<TSource, TKey>(
this CqlQuery<TSource> source,
Expression<Func<TSource, TKey>> func
)
Parameters
- source
- Type: Cassandra.Data.LinqCqlQueryTSource
- func
- Type: System.Linq.ExpressionsExpressionFuncTSource, TKey
Type Parameters
- TSource
- TKey
Return Value
Type:
CqlQueryTSourceUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CqlQueryTSource. 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