-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryLinqExtensions_ThenBy_QeXpQQdHmvbeYKRnf5ImDg
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
Performs a subsequent ordering of a TQuery recordset in ascending order according to a key.
public static DbEasyConnect.DbEcOrder<Table> ThenBy<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.