-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryLinqExtensions_ThenByDescending_ndGrXYg0oLUYUcUOr+6bDw
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
TQueryLinqExtensions.ThenByDescending<Table,TKey>(DbEcOrder<Table>, Expression<Func<Table,TKey>>) Method
Performs a subsequent ordering of a TQuery recordset in descending order according to a key.
public static DbEasyConnect.DbEcOrder<Table> ThenByDescending<Table,TKey>(this DbEasyConnect.DbEcOrder<Table> tQuery, System.Linq.Expressions.Expression<System.Func<Table,TKey>> keySelector);
Table
The type of the records of table class. need to be a class with the [Table("")] attribute.
TKey
The type of the key returned by the function that is represented by keySelector.
tQuery
DbEasyConnect.DbEcOrder<Table>
An DbEcOrder<T> that contains the ordered queryable table to apply the subsequent order predicate to.
keySelector
System.Linq.Expressions.Expression<System.Func<Table,TKey>>
A function to extract a field from an TQuery recordset
DbEasyConnect.DbEcOrder<Table>
An DbEcOrder<T> whose records are sorted according to a key.