Represents a collection of IndexedGroup<(Of <(<'TKey, T>)>)>, groups of elements with the same key, resulting from a search operation with grouping.

Namespace:  C1.LiveLinq.Indexing.Search
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public abstract class GroupingQuery<TKey, T> : IOrderedSequence<IndexedGroup<TKey, T>>, 
	IEnumerable<IndexedGroup<TKey, T>>, IEnumerable
Visual Basic
Public MustInherit Class GroupingQuery(Of TKey, T) _
	Implements IOrderedSequence(Of IndexedGroup(Of TKey, T)),  _
	IEnumerable(Of IndexedGroup(Of TKey, T)), IEnumerable

Type Parameters

TKey
The type of the index key.
T
The type of the elements of the indexed collection.

Remarks

The result of any index search operation, IndexQuery<(Of <(<'T, TKey>)>)> can be grouped by applying GroupByKey()()()(). It is grouped by the key that was used to perform the search operation. For example,
Copy CodeC#
customers.Indexes(c => c.City).All().GroupByKey();
customers.Indexes(c => c.City).FindBetween("A", "Z").GroupByKey();

Inheritance Hierarchy

System..::..Object
  C1.LiveLinq.Indexing.Search..::..GroupingQuery<(Of <(<'TKey, T>)>)>

See Also