public Select Where(string partialClause) { if (from == null) { throw new NotSupportedException("Can't set the 'where' clause without 'from' clause."); } from.SetWhere(new Where(partialClause)); return(this); }
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; }
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); }