Example #1
0
 /// <summary>
 /// Removes the item from the group by clause of the query.
 /// </summary>
 /// <param name="item">The item to remove.</param>
 /// <returns>True if the item was removed; otherwise, false.</returns>
 public bool RemoveGroupBy(IGroupByItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     return(_groupBy.Remove(item));
 }
Example #2
0
 /// <summary>
 /// Adds the item to the group by clause of the query.
 /// </summary>
 /// <param name="item">The item to add.</param>
 public void AddGroupBy(IGroupByItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     _groupBy.Add(item);
 }
 /// <summary>
 /// Removes the item from the group by clause of the query.
 /// </summary>
 /// <param name="item">The item to remove.</param>
 /// <returns>True if the item was removed; otherwise, false.</returns>
 public bool RemoveGroupBy(IGroupByItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     return _groupBy.Remove(item);
 }
 /// <summary>
 /// Adds the item to the group by clause of the query.
 /// </summary>
 /// <param name="item">The item to add.</param>
 public void AddGroupBy(IGroupByItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     _groupBy.Add(item);
 }