コード例 #1
0
        public override IQuery <T> OrderBy <TKey>(Expression <Func <T, TKey> > expression)
        {
            var orderExpression = LambdaExpressionExtend.ResolveLambdaOrderByExpression(expression, OrderType.ASC);

            _order = orderExpression;
            return(this);
        }
コード例 #2
0
        public override IQuery <T> OrderByDescendingConcat <TKey>(Expression <Func <T, TKey> > expression)
        {
            var orderExpression = LambdaExpressionExtend.ResolveLambdaOrderByExpression(expression, OrderType.DESC);

            _order = OrderExpression.Concat(_order, orderExpression);
            return(this);
        }