Esempio n. 1
0
        public QueryExpressionImpl(SQLVendorImpl vendor, QueryExpressionBody body)
            : base(vendor)
        {
            ArgumentValidator.ValidateNotNull(nameof(body), body);

            this._body = body;
        }
Esempio n. 2
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;
        }
Esempio n. 3
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));
 }
Esempio n. 4
0
 public virtual QueryExpression NewQuery(QueryExpressionBody body)
 {
     return(new QueryExpressionImpl(this.vendor, body));
 }
Esempio n. 5
0
 public virtual QueryExpressionBodyBuilder NewQueryExpressionBodyBuilder(QueryExpressionBody current = null)
 {
     return(new QueryExpressionBodyBuilderImpl(this.vendor, current));
 }
Esempio n. 6
0
 public QueryFactoryImpl(SQLVendorImpl vendor, QueryExpressionBody emptyQuery = null, GroupingElement grandTotal = null)
     : base(vendor)
 {
     this._empty      = emptyQuery ?? new QueryExpressionBodies.EmptyExpressionBody(vendor);
     this._grandTotal = grandTotal ?? new GroupingElements.GrandTotal(vendor);
 }