private SelectFromQuery(bool? restriction, TopExpression top, Sequence<ColumnItem> columnItems, Optional<DestinationRowset> intoClause, FromClause fromClause, Optional<Predicate> whereClause, Optional<Sequence<Expression>> groupByClause, Optional<Predicate> havingClause, Optional<Sequence<OrderExpression>> orderList, ForClause forClause, RowsetCombineClause unionClause): base(restriction, top, columnItems, intoClause, whereClause, forClause, unionClause) { this.fromClause = fromClause; this.groupByClause = groupByClause.ToList(); this.havingClause = havingClause; this.orderList = orderList.ToList(); }
protected SelectQuery(bool? restriction, TopExpression top, Sequence<ColumnItem> columnItems, Optional<DestinationRowset> intoClause, Optional<Predicate> whereClause, ForClause forClause, RowsetCombineClause unionClause) { this.top = top; this.intoClause = intoClause; this.forClause = forClause; this.unionClause = unionClause; this.columnItems = columnItems.ToList(); this.restriction = restriction; this.whereClause = whereClause; }
public SelectQuery(Sequence<ColumnItem> columnItems, Optional<DestinationRowset> intoClause, Optional<Predicate> whereClause, ForClause forClause): this(default(bool?), null, columnItems, intoClause, whereClause, forClause, null) {}
public SelectQuery(DuplicateRestrictionToken restriction, Sequence<ColumnItem> columnItems, Optional<DestinationRowset> intoClause, Optional<Predicate> whereClause, ForClause forClause): this(restriction.Distinct, null, columnItems, intoClause, whereClause, forClause, null) {}
public SelectFromQuery(Sequence<ColumnItem> columnItems, Optional<DestinationRowset> intoClause, FromClause fromClause, Optional<Predicate> whereClause, Optional<Sequence<Expression>> groupByClause, Optional<Predicate> havingClause, Optional<Sequence<OrderExpression>> orderList, ForClause forClause): this(default(bool?), null, columnItems, intoClause, fromClause, whereClause, groupByClause, havingClause, orderList, forClause, null) {}
public SelectFromQuery(DuplicateRestrictionToken restriction, Sequence<ColumnItem> columnItems, Optional<DestinationRowset> intoClause, FromClause fromClause, Optional<Predicate> whereClause, Optional<Sequence<Expression>> groupByClause, Optional<Predicate> havingClause, Optional<Sequence<OrderExpression>> orderList, ForClause forClause): this(restriction.Distinct, null, columnItems, intoClause, fromClause, whereClause, groupByClause, havingClause, orderList, forClause, null) {}