//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); }
public override void Accept(SqlFragmentVisitor visitor) => visitor?.ExplicitVisit(this);
internal override void Accept(SqlFragmentVisitor visitor) { throw new System.NotImplementedException(); }
internal override void Accept(SqlFragmentVisitor visitor) { visitor.Visit(this); }
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); }
internal override void Accept(SqlFragmentVisitor visitor) { for (int i = 0; i < Fragments.Count; i++) Fragments[i].Accept(visitor); visitor.Visit(this); }
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); }
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); }
public override void AcceptChildren(SqlFragmentVisitor visitor) { this.Declarations.Accept(visitor); base.AcceptChildren(visitor); }
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); }
internal override void Accept(SqlFragmentVisitor visitor) { Argument.Accept(visitor); }
public override void AcceptChildren(SqlFragmentVisitor visitor) { this.TableName?.Accept(visitor); this.PartitionRanges.Accept(visitor); base.AcceptChildren(visitor); }
internal override void Accept(SqlFragmentVisitor visitor) { Column.Accept(visitor); visitor.Visit(this); }
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); }
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); }
public override void AcceptChildren(SqlFragmentVisitor visitor) { this.Expression?.Accept(visitor); base.AcceptChildren(visitor); }
internal override void Accept(SqlFragmentVisitor visitor) { Left.Accept(visitor); Right.Accept(visitor); visitor.Visit(this); }
public override void AcceptChildren(SqlFragmentVisitor visitor) { this.OrderByElements.Accept(visitor); base.AcceptChildren(visitor); }
public override void AcceptChildren(SqlFragmentVisitor visitor) { this.SchemaObjectName?.Accept(visitor); this.ValueExpression?.Accept(visitor); base.AcceptChildren(visitor); }
//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); }
public override void AcceptChildren(SqlFragmentVisitor visitor) { this.ColumnValues.Accept(visitor); base.AcceptChildren(visitor); }
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); }
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); }
public override void AcceptChildren(SqlFragmentVisitor visitor) { this.ComputeFunctions.Accept(visitor); this.ByExpressions.Accept(visitor); base.AcceptChildren(visitor); }
internal override void Accept(SqlFragmentVisitor visitor) { if (Literal != null) Literal.Accept(visitor); //if (PropertyFragment != null) PropertyFragment.Accept(visitor); visitor.Visit(this); }
internal override void Accept(SqlFragmentVisitor visitor) { Argument.Accept(visitor); Pattern.Accept(visitor); if (Escape != null) Escape.Accept(visitor); visitor.Visit(this); }
internal override void Accept(SqlFragmentVisitor visitor) { // nothing }
internal abstract void Accept(SqlFragmentVisitor visitor);