示例#1
0
        /// <summary>
        /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor
        /// methods for this object.
        /// </summary>
        /// <param name="visitor">
        /// The <see cref="ISqlVisitor" /> to visit this object with.
        /// </param>
        public override void Accept(ISqlVisitor visitor)
        {
            base.Accept(visitor);

            Into?.Accept(visitor);
            Columns?.Accept(visitor);
            Values.Accept(visitor);
        }
示例#2
0
 public override void AcceptChildren(WSqlFragmentVisitor visitor)
 {
     if (Into != null)
     {
         Into.Accept(visitor);
     }
     if (QueryExpr != null)
     {
         QueryExpr.Accept(visitor);
     }
     base.AcceptChildren(visitor);
 }