[]
        
(Showing Draft Content)

C1.LiveLinq.Indexing.Search.GroupingQuery-2

GroupingQuery<TKey, T> Class

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

Inheritance
GroupingQuery<TKey, T>
Implements
Namespace: C1.LiveLinq.Indexing.Search
Assembly: C1.LiveLinq.4.8.dll
Syntax
public abstract class GroupingQuery<TKey, T> : IEnumerable<IndexedGroup<TKey, T>>, IEnumerable
Type Parameters
Name Description
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<T, TKey> can be grouped by applying GroupByKey(). It is grouped by the key that was used to perform the search operation. For example,

customers.Indexes(c => c.City).All().GroupByKey();
customers.Indexes(c => c.City).FindBetween("A", "Z").GroupByKey();

Methods

Name Description
GetEnumerator()

Returns an enumerator that iterates through the GroupingQuery<TKey, T>.

Extension Methods

See Also