Beispiel #1
0
 /// <summary>
 /// When querying with a subquery, be careful to include in the supplied fragment any parentheses and aliases that may be
 /// required by the underlying database. See <see cref="SqlBuilder.SubqueryFragment" /> for a class that provides facilities
 /// to achieve this.
 /// </summary>
 /// <param name='subquery'>
 /// The Sql Fragment that represents the subquery (everything that goes in the FROM clause)
 /// </param>
 public QueryBuilder(FromFragment subquery) : this()
 {
     tableOrSubquery = subquery;
 }
Beispiel #2
0
 public QueryBuilder(string table) : this()
 {
     this.tableOrSubquery = new FromFragment(table);
 }