Example #1
0
        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;
        }
Example #2
0
 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));
 }
Example #3
0
 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);
 }