Exemplo n.º 1
0
 /// <summary>
 /// Add a another condition to the HAVING Clause that need to be true
 /// </summary>
 /// <param name="having">The HAVING Clause to add</param>
 public virtual Having And(Having having)
 {
     if (having == null)
     {
         throw new System.ArgumentNullException();
     }
     Havings.Add(having);
     return(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Add a another condition to the HAVING Clause that can be true instead
 /// </summary>
 /// <param name="having">The HAVING Clause to add</param>
 public virtual Having Or(Having having)
 {
     if (having == null)
     {
         throw new System.ArgumentNullException();
     }
     having.IsAnd = false;
     Havings.Add(having);
     return(this);
 }