Beispiel #1
0
        public override void PerformOnHaving(GroupByClause node)
        {
            if (node == null)
            {
                throw new ArgumentNullException("node");
            }

            if (node.Having != null)
            {
                m_sql.Append(NewLine);
                m_sql.Append("HAVING ");
            }
        }
Beispiel #2
0
        public override void PerformBefore(GroupByClause node)
        {
            if (node == null)
            {
                throw new ArgumentNullException("node");
            }

            m_sql.Append("GROUP BY ");

            if (node.All)
            {
                m_sql.Append("ALL ");
            }
        }
Beispiel #3
0
        public INode Clone()
        {
            GroupByClause groupByClause = new GroupByClause();

            groupByClause.All = m_all;

            if (m_expression != null)
            {
                groupByClause.Expression = (ExpressionItem)(m_expression.Clone());
            }

            if (m_having != null)
            {
                groupByClause.Having = (IExpression)(m_having.Clone());
            }

            return(groupByClause);
        }
Beispiel #4
0
 public virtual void PerformAfter(GroupByClause node)
 {
 }
Beispiel #5
0
 public virtual void PerformOnHaving(GroupByClause node)
 {
 }
Beispiel #6
0
 public virtual void PerformBefore(GroupByClause node)
 {
 }
Beispiel #7
0
 public override void PerformAfter(GroupByClause node)
 {
     PopKnownParent(node);
 }
Beispiel #8
0
 public override void PerformBefore(GroupByClause node)
 {
     PushParent(node);
 }