Пример #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));
 }
Пример #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);
 }
Пример #3
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);
 }
Пример #4
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);
 }