internal void AddJoin(SqlJoin join) { if (_joins == null) { _joins = new List<SqlJoin>(); } _joins.Add(join); }
public JoinClause(FromClause parent, SqlJoin join) : base(parent) { _from = parent; _join = join; }
protected override SqlExpression VisitJoin(SqlJoin expression) { _writer.WriteStartJoin(expression.Type); Visit(expression.Table); if (expression.Predicate != null) { _writer.WriteStartOn(); Visit(expression.Predicate); } return expression; }