Beispiel #1
0
 /// <summary>
 /// Adds a JOIN clause.
 /// </summary>
 /// <param name="table">The table.</param>
 /// <param name="joinType">Type of the join.</param>
 /// <param name="conditions">The conditions.</param>
 public void addJoin(string table, JoinTypes joinType, WhereConds conditions)
 {
     this._joins.AddLast(new Join(joinType, table, conditions));
 }
Beispiel #2
0
 /// <summary>
 /// Adds a having clause.
 /// </summary>
 /// <param name="conditions">The conditions.</param>
 public void addHaving(WhereConds conditions)
 {
     this._havings.AddLast(conditions);
 }
Beispiel #3
0
 public Join(JoinTypes type, string table, WhereConds conditions)
 {
     joinType = type;
     this.table = table;
     joinConditions = conditions;
 }
Beispiel #4
0
 public Join(JoinTypes type, string table, WhereConds conditions)
 {
     joinType       = type;
     this.table     = table;
     joinConditions = conditions;
 }
Beispiel #5
0
 /// <summary>
 /// Adds a having clause.
 /// </summary>
 /// <param name="conditions">The conditions.</param>
 public void addHaving(WhereConds conditions)
 {
     this._havings.AddLast(conditions);
 }
Beispiel #6
0
 /// <summary>
 /// Adds a JOIN clause.
 /// </summary>
 /// <param name="table">The table.</param>
 /// <param name="joinType">Type of the join.</param>
 /// <param name="conditions">The conditions.</param>
 public void addJoin(string table, JoinTypes joinType, WhereConds conditions)
 {
     this._joins.AddLast(new Join(joinType, table, conditions));
 }