Пример #1
0
 /// <summary>
 ///     Orders the by.
 /// </summary>
 /// <param name="keySelector">The key selector.</param>
 /// <param name="type">The 类型.</param>
 public IOrderQuery <TEntity> OrderBy <TKey>(Expression <Func <TEntity, TKey> > keySelector,
                                             OrderType type = OrderType.Ascending)
 {
     return(_orderQuery.OrderBy(keySelector, type));
 }