public SelectColumnClauseBuilderImpl(SQLVendor vendor) : base(vendor) { this._selectAll = false; this._cols = new List <ColumnReferenceInfo>(); this._quantifier = SetQuantifier.All; }
public QueryExpressionBodyBinaryImpl(SQLVendorImpl vendor, SetOperations setOperation, CorrespondingSpec correspondingSpec, QueryExpressionBody left, QueryExpressionBody right, SetQuantifier setQuantifier) : base(vendor) { ArgumentValidator.ValidateNotNull(nameof(left), left); ArgumentValidator.ValidateNotNull(nameof(right), right); this._setOperation = setOperation; this._correspondingSpec = correspondingSpec; this._left = left; this._right = right; this._setQuantifier = setQuantifier; }
public ColumnReferencesImpl(SQLVendorImpl vendor, SetQuantifier setQuantifier, ImmutableArray <ColumnReferenceInfo> columns) : base(vendor, setQuantifier) { ArgumentValidator.ValidateNotNull(nameof(columns), columns); if (columns.Length <= 0) { throw new ArgumentException("Select column list must have at least one column reference."); } foreach (var col in columns) { ArgumentValidator.ValidateNotNull(nameof(col), col); } this._columns = columns; }
public AsteriskSelectImpl(SQLVendorImpl vendor, SetQuantifier setQuantifier) : base(vendor, setQuantifier) { }
protected SelectColumnClauseImpl(SQLVendorImpl vendor, SetQuantifier setQuantifier) : base(vendor) { this._setQuantifier = setQuantifier; }
protected void ProcessSetQuantifier(SetQuantifier quantifier, StringBuilder builder) { builder.Append(this._setQuantifiers[quantifier]); }
public virtual QueryExpressionBodyBinary NewBinaryQuery(QueryExpressionBody left, QueryExpressionBody right, SetOperations setOperation, SetQuantifier quantifier = SetQuantifier.Distinct, CorrespondingSpec correspondingSpec = null) { return(new QueryExpressionBodyBinaryImpl(this.vendor, setOperation, correspondingSpec, left, right, quantifier)); }
public virtual ColumnReferences NewSelectClause(SetQuantifier quantifier, ImmutableArray <ColumnReferenceInfo> cols) { return(new ColumnReferencesImpl(this.vendor, quantifier, cols)); }
public virtual AsteriskSelect NewSelectAllClause(SetQuantifier quantifier) { return(new AsteriskSelectImpl(this.vendor, quantifier)); }
public static QuerySpecificationBuilder WithSetQuantifier(this QuerySpecificationBuilder builder, SetQuantifier quantifier) { builder.ColumnsBuilder.SetSetQuantifier(quantifier); return(builder); }
public static ColumnReferences NewSelectClause(this QueryFactory factory, SetQuantifier quantifier, params ColumnReferenceInfo[] cols) { return(factory.NewSelectClause(quantifier, ArrayQueryHelper.NewAQ(cols, false))); }
public QueryExpressionBodyBuilder Except(QueryExpressionBody another, SetQuantifier setQuantifier = SetQuantifier.Distinct, CorrespondingSpec correspondingSpec = null) { this._current = this.vendor.QueryFactory.NewBinaryQuery(this._current, another, SetOperations.Except, setQuantifier, correspondingSpec); return(this); }
public SelectColumnClauseBuilder SetSetQuantifier(SetQuantifier quantifier) { this._selectAll = false; this._quantifier = quantifier; return(this); }