/// <summary> /// Defines the contents of the additional HAVING clause that follows the GROUP BY one, or /// append the new ones to any previous specification, to accomodate extended logic for /// this command if required. /// <para>By default if any previous contents exist the new ones are appended using an AND /// operator. However, the virtual extension methods 'x => x.And(...)' and 'x => x.Or(...)' /// can be used to specify what logical operator to use.</para> /// </summary> /// <param name="having">The dynamic lambda expression that resolves into the contents of /// this clause.</param> /// <returns>A self-reference to permit a fluent syntax chaining.</returns> public DataQuery <T> Having(Func <dynamic, object> having) { if (IsDisposed) { throw new ObjectDisposedException(this.ToString()); } _Template.Having(having); return(this); }