示例#1
0
 public static QueryOver <TRoot, TSub> AddOrderByDesc <TRoot, TSub>(this QueryOver <TRoot, TSub> queryOver,
                                                                    Expression <Func <TSub, object> > expr)
 {
     return(queryOver.OrderBy(expr).Desc);
 }
示例#2
0
 public static QueryOver <T, T> AddOrderByDesc <T>(this QueryOver <T, T> queryOver, Expression <Func <object> > expr)
 {
     return(queryOver.OrderBy(expr).Desc);
 }