Ejemplo n.º 1
0
        protected override SqlPack OrderBy(NewExpression expression, SqlPack sqlPack)
        {
            foreach (var item in expression.Arguments)
            {
                Expression2SqlProvider.OrderBy(item, sqlPack);
            }

            return(sqlPack);
        }
 protected override SqlPack OrderBy(UnaryExpression expression, SqlPack sqlPack)
 {
     Expression2SqlProvider.OrderBy(expression.Operand, sqlPack);
     return(sqlPack);
 }