public QueryBody(QueryBodyClause[] clauses, SelectOrGroupClause selectOrGroup, QueryContinuation continuation) { this.clauses = clauses; this.selectOrGroup = selectOrGroup; this.continuation = continuation; }
public QueryBody Update(QueryBody expression, IEnumerable<QueryBodyClause> clauses, QueryContinuation continuation, SelectOrGroupClause sogc) { if (expression.Clauses != clauses || expression.Continuation != continuation || expression.SelectOrGroup != sogc) return new QueryBody(new ClauseList(clauses), sogc, continuation); return expression; }