示例#1
0
 /// <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);
 }
示例#2
0
 /// <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);
 }