/// <summary> /// Defines the contents of the additional GROUP BY clauses, or append the new ones to any /// previous specification, to accomodate extended logic for this command if required. /// </summary> /// <param name="groupbys">The collection of dynamic lambda expressions that resolve into /// the contents of this clause: /// <para>- A string as in 'x => "Table.Column"', where the table part is optional.</para> /// </param> /// <returns>A self-reference to permit a fluent syntax chaining.</returns> public DataQuery <T> GroupBy(params Func <dynamic, object>[] groupbys) { if (IsDisposed) { throw new ObjectDisposedException(this.ToString()); } _Template.GroupBy(groupbys); return(this); }