예제 #1
0
 /// <summary>Functionally similar to Enumerable.OrderByDescending.</summary>
 /// <param name="keySelector">Must be a simple property/field expression on the record class returning the column value. The table must have the index to sort on this column.</param>
 public static IEnumerable <tRow> orderByDescending <tRow, tKey>(this Recordset <tRow> rs, Expression <Func <tRow, tKey> > keySelector) where tRow : new()
 {
     return(rs.orderBy(keySelector, true));
 }