public INSql Having(INSql subquery, Cond condition = Cond.AND) { var cond = new Condition() { Operator = Op.Raw, Raw = String.Format("( {0} )", subquery.ToSql()) }; this.ListConditionHavings.Add(cond); return(this); }
public INSql JoinHaving(INSql query) { this.ListConditionHavings.AddRange(query.GetHavings()); return(this); }
public INSql JoinWhere(INSql query) { this.ListConditionWheres.AddRange(query.GetWheres()); return(this); }