public CommonTableExpression(AliasName aliasName, Optional<Sequence<ColumnName>> columnNames, SelectQuery selectQuery) {
			Debug.Assert(aliasName != null);
			Debug.Assert(selectQuery != null);
			this.aliasName = aliasName;
			this.columnNames = columnNames.ToList();
			this.selectQuery = selectQuery;
		}
		protected RowsetCombineClause(SelectQuery selectQuery) {
			Debug.Assert(selectQuery != null);
			this.selectQuery = selectQuery;
		}
		public SourceNestedSelectRowset(SelectQuery select, RowsetAlias rowsetAlias): base(rowsetAlias) {
			Debug.Assert(select != null);
			this.@select = select;
		}
		public PredicateExists(SelectQuery selectQuery) {
			Debug.Assert(selectQuery != null);
			this.selectQuery = selectQuery;
		}
Example #5
0
		public ExceptClause(SelectQuery selectQuery): base(selectQuery) {}
		public SubqueryTestExpression(DuplicateRestrictionToken restriction, SelectQuery subquery) {
			this.subquery = subquery;
			any = restriction.Distinct;
		}
		public UnionAllClause(SelectQuery selectQuery): base(selectQuery) {}
		public SelectStatement(QueryOptions queryOptions, SelectQuery selectQuery, QueryHint queryHint) {
			Debug.Assert(selectQuery != null);
			this.queryOptions = queryOptions;
			this.selectQuery = selectQuery;
			this.queryHint = queryHint;
		}
		public InsertSelectValuesStatement(QueryOptions queryOptions, TopExpression topExpression, DestinationRowset destinationRowset, Optional<Sequence<ColumnName>> columnNames, OutputClause output, SelectQuery selectQuery, QueryHint queryHint)
				: base(queryOptions, topExpression, destinationRowset, columnNames, output, queryHint) {
			Debug.Assert(selectQuery != null);
			this.selectQuery = selectQuery;
		}
		public NestedSelectQuery(SelectQuery value) {
			Debug.Assert(value != null);
			this.value = value;
		}
		public IntersectClause(SelectQuery selectQuery): base(selectQuery) {}