public void SetFrom(From fromClause) { if (fromClause == null) throw new ArgumentNullException("fromClause"); from = fromClause; }
public DetachedDynQuery(From from) { if (from == null) throw new ArgumentNullException("from"); this.from = from; }
public Select From(string partialClause) { if (from != null) throw new NotSupportedException(string.Format("Can't override the 'from' clause; original 'from':{0}", from.Expression)); from = new From(partialClause); return this; }
public DetachedDynQuery(Select select) { if (select == null) throw new ArgumentNullException("select"); this.select = select; from = select.From(); }
public From FromWhereClause() { var result = new From(partialClause); foreach (var s in joins) { result.Join(s); } if (where != null) result.SetWhere(where.Clone()); return result; }
internal void SetOwner(From fromClause) { owner = fromClause; }
public GroupBy(From owner) { this.owner = owner; }