/// <summary> /// Appends a word WHERE and the stringified values of the Query Group to the SQL Query Statement. /// </summary> /// <param name="queryGroup">The query group to be stringified.</param> /// <returns>The current instance.</returns> public QueryBuilder <TEntity> WhereFrom(QueryGroup queryGroup) { return((queryGroup != null) ? Append($"WHERE {queryGroup.FixParameters().GetString()}") : this); }
/// <summary> /// Appends a word WHERE and the stringified values of the Query Group to the SQL Query Statement. /// </summary> /// <param name="queryGroup">The query group to be stringified.</param> /// <returns>The current instance.</returns> public QueryBuilder <TEntity> WhereFrom(QueryGroup queryGroup) { return((queryGroup != null) ? Append(string.Concat("WHERE ", queryGroup.FixParameters().GetString())) : this); }