//public override void WriteSql(StringBuilder sql)
    //{
    //    // we don't want our join to write out its name
    //    string name = Name;
    //    Name = null;
    //    base.WriteSql(sql);
    //    Name = name;
    //}

    internal override void Accept(SqlFragmentVisitor visitor)
    {
      base.Accept(visitor);
      if (Condition != null)
        Condition.Accept(visitor);
      visitor.Visit(this);
    }
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   if (Columns != null)
   {
     foreach (ColumnFragment cf in Columns)
     {
       cf.Accept(visitor);
     }
   }
   visitor.Visit(this);
 }
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.SchemaObject?.Accept(visitor);
     base.AcceptChildren(visitor);
     this.Parameters.Accept(visitor);
 }
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   if (Left != null) Left.Accept(visitor);
   if (Right != null) Right.Accept(visitor);
   visitor.Visit(this);
 }
示例#5
0
 public override void Accept(SqlFragmentVisitor visitor) => visitor?.ExplicitVisit(this);
示例#6
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
     throw new System.NotImplementedException();
 }
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   visitor.Visit(this);
 }
示例#8
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.SetClauses.Accept(visitor);
     base.AcceptChildren(visitor);
 }
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     base.AcceptChildren(visitor);
     this.MergeSpecification?.Accept(visitor);
 }
示例#10
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   for (int i = 0; i < Fragments.Count; i++)
     Fragments[i].Accept(visitor);
   visitor.Visit(this);
 }
示例#11
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.From?.Accept(visitor);
     this.To?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.ColumnDefinition?.Accept(visitor);
     this.Mapping?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#13
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.TextSize?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     base.AcceptChildren(visitor);
     this.CallTarget?.Accept(visitor);
     this.PropertyName?.Accept(visitor);
 }
示例#15
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.Declarations.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#16
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   Else.Accept(visitor);
   for (int i = 0; i < Then.Count; i++)
     Then[i].Accept(visitor);
   for (int i = 0; i < When.Count; i++)
     When[i].Accept(visitor);
   if (Else != null) Else.Accept(visitor);
   visitor.Visit(this);
 }
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     base.AcceptChildren(visitor);
     this.FromClause?.Accept(visitor);
     this.WhereClause?.Accept(visitor);
 }
示例#18
0
 internal override void  Accept(SqlFragmentVisitor visitor)
 {
   Argument.Accept(visitor);
 }
示例#19
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.TableName?.Accept(visitor);
     this.PartitionRanges.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#20
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   Column.Accept(visitor);
   visitor.Visit(this);
 }
示例#21
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.NumberRows?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.SelectStatement?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
 public override void AcceptChildren(SqlFragmentVisitor visitor) {
     this.VariableName?.Accept(visitor);
     this.Definition?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#24
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.ProcedureReference?.Accept(visitor);
     this.ProcedureVariable?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
    internal override void Accept(SqlFragmentVisitor visitor)
    {
      if (From != null) From.Accept(visitor);
      if (Columns != null)
      {
        foreach (ColumnFragment cf in Columns)
        {
          cf.Accept(visitor);
        }
      }
      if (Where != null) Where.Accept(visitor);
      if (Limit != null) Limit.Accept(visitor);
      if (Skip != null) Skip.Accept(visitor);
      if (GroupBy != null)
      {
        foreach (SqlFragment grp in GroupBy)
        {
          grp.Accept(visitor);
        }
      }
      if (OrderBy != null)
      {
        foreach (SortFragment sort in OrderBy)
        {
          sort.Accept(visitor);
        }
      }

      visitor.Visit(this);

    }
示例#26
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.Expression?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#27
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   Left.Accept(visitor);
   Right.Accept(visitor);
   visitor.Visit(this);
 }
示例#28
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.OrderByElements.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#29
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.SchemaObjectName?.Accept(visitor);
     this.ValueExpression?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#30
0
    //public override void WriteSql(StringBuilder sql)
    //{
    //    // we don't want our join to write out its name
    //    string name = Name;
    //    Name = null;
    //    base.WriteSql(sql);
    //    Name = name;
    //}

    internal override void Accept(SqlFragmentVisitor visitor)
    {
      Condition.Accept(visitor);
    }
示例#31
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.ColumnValues.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#32
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   Argument.Accept(visitor);
   for (int i = 0; i < InList.Count; i++)
     InList[i].Accept(visitor);
   visitor.Visit(this);
 }
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.Columns.Accept(visitor);
     this.Source?.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#34
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   // Most Accept methods are postorder, this one is preorden due to semantics of ApplyUnionEmulatorVisitor.
   visitor.Visit(this);
   if (Argument != null) Argument.Accept(visitor);
   for (int i = 0; i < InList.Count; i++)
     InList[i].Accept(visitor);
   visitor.Visit(this);
 }
示例#35
0
 public override void AcceptChildren(SqlFragmentVisitor visitor)
 {
     this.ComputeFunctions.Accept(visitor);
     this.ByExpressions.Accept(visitor);
     base.AcceptChildren(visitor);
 }
示例#36
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   if (Literal != null) Literal.Accept(visitor);
   //if (PropertyFragment != null) PropertyFragment.Accept(visitor);
   visitor.Visit(this);
 }
示例#37
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
     Argument.Accept(visitor);
 }
示例#38
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   Argument.Accept(visitor);
   Pattern.Accept(visitor);
   if (Escape != null) Escape.Accept(visitor);
   visitor.Visit(this);
 }
示例#39
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
     // nothing
 }
示例#40
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   // nothing
 }
示例#41
0
 internal abstract void Accept(SqlFragmentVisitor visitor);
示例#42
0
 internal abstract void Accept(SqlFragmentVisitor visitor);
示例#43
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
     Column.Accept(visitor);
     visitor.Visit(this);
 }
示例#44
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
   throw new System.NotImplementedException();
 }
示例#45
0
 internal override void Accept(SqlFragmentVisitor visitor)
 {
     visitor.Visit(this);
 }