Class GroupBy<TDocument>
A builder for specifying what the GroupBy command should group by.
public static class GroupBy<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
GroupBy<TDocument>
- Inherited Members
Methods
Keys(params Expression<Func<TDocument, object>>[])
Sets one or more key names.
public static GroupByBuilder<TDocument> Keys(params Expression<Func<TDocument, object>>[] memberExpressions)
Parameters
memberExpressions
Expression<Func<TDocument, object>>[]One or more key names.
Returns
- GroupByBuilder<TDocument>
The builder (so method calls can be chained).