Example #1
0
        public override void PerformOnWhere(DeleteStatement node)
        {
            if (node == null)
            {
                throw new ArgumentNullException("node");
            }

            if (node.Where != null)
            {
                m_sql.Append(NewLine);
                m_sql.Append("WHERE ");
            }
        }
Example #2
0
        public INode Clone()
        {
            DeleteStatement deleteStatement = new DeleteStatement();

            if (m_table != null)
            {
                deleteStatement.Table = (DbObject)(m_table.Clone());
            }

            if (m_where != null)
            {
                deleteStatement.Where = (IExpression)(m_where.Clone());
            }

            return(deleteStatement);
        }
Example #3
0
 public virtual void PerformAfter(DeleteStatement node)
 {
 }
Example #4
0
 public virtual void PerformOnWhere(DeleteStatement node)
 {
 }
Example #5
0
 public virtual void PerformBefore(DeleteStatement node)
 {
 }
Example #6
0
 public override void PerformAfter(DeleteStatement node)
 {
     PopKnownParent(node);
     Debug.Assert(m_ancestors.Count == 0);
 }
Example #7
0
 public override void PerformBefore(DeleteStatement node)
 {
     PushParent(node);
 }