Пример #1
0
        internal SingleQueryClause(QuantifierType quantifier
                                   , bool hasTop
                                   , int top
                                   , bool hasWildcard
                                   , ResultColumns results
                                   , IFromSource from
                                   , Predicate where
                                   , GroupBy groupBy
                                   , Predicate having
                                   , Comments comments)
        {
            _quantifier   = quantifier;
            _hasTop       = hasTop;
            this.Top      = top;
            _hasWildcard  = hasWildcard;
            this.Results  = results;
            _from         = from;
            _where        = where;
            this.GroupBy  = groupBy;
            _having       = having;
            this.Comments = comments;
            //this.IsSubQuery = true;

            this.SetParent(from);
            this.SetParent(where);
            this.SetParent(having);
        }
Пример #2
0
 virtual public void VisitAfter(ResultColumns resultColumns)
 {
 }
Пример #3
0
 //virtual public void VisitBefore(SingleQuery query) { }
 //virtual public void VisitAfter(SingleQuery query) { }
 //virtual public void VisitBefore(CompoundQuery compoundQuery) { }
 //virtual public void VisitAfter(CompoundQuery compoundQuery) { }
 //virtual public void VisitBefore(BracketedQuery bracketedQuery) { }
 //virtual public void VisitAfter(BracketedQuery bracketedQuery) { }
 virtual public void VisitBefore(ResultColumns resultColumns)
 {
 }
 public override void VisitAfter(ResultColumns resultColumns)
 {
 }
Пример #5
0
 public void VisitAfter(ResultColumns resultColumns)
 {
     _visitor.VisitAfter(resultColumns);
 }
Пример #6
0
 public void VisitBefore(ResultColumns resultColumns)
 {
     _visitor.VisitBefore(resultColumns);
 }