/// <summary> /// Adds a WHERE clause to the query. /// </summary> /// <param name="fieldName">Name of the field to filter on.</param> /// <returns>A builder for building the WHERE clause.</returns> public IWhereBuilder <SelectQueryBuilder> Where(string fieldName) { Predicate predicate = new Predicate() { field = fieldName }; selector.AddPredicate(predicate); return(new WhereBuilder <SelectQueryBuilder>(predicate, this)); }