Exemplo n.º 1
0
 public static ValueNode SubExp(
     SelectValuesExpressionNode select,
     FromExpressionNode from,
     WhereExpressionNode where     = null,
     GroupByExpressionNode groupBy = null,
     OrderByExpressionNode orderBy = null)
 {
     return(ValueNode.NewSubExpression(
                PlainSelectExpression.NewPlain(
                    new SelectExpressionToken(
                        select,
                        from,
                        where.ToOption(),
                        groupBy.ToOption(),
                        orderBy.ToOption()))));
 }
Exemplo n.º 2
0
 public static ValueNode SubExp(
     SelectValuesExpressionNode select,
     FromExpressionNode from,
     WhereExpressionNode where     = null,
     GroupByExpressionNode groupBy = null,
     OrderByExpressionNode orderBy = null,
     LimitOffsetNode limitOffset   = null)
 {
     return(ValueNode.NewSubExpression(
                PlainSelectExpression.NewPlain(
                    new SelectExpressionToken(
                        select,
                        from,
                        where.ToOption(),
                        groupBy.ToOption(),
                        orderBy.ToOption(),
                        limitOffset ?? new LimitOffsetNode(FSharpOption <int> .None, FSharpOption <int> .None)))));
 }