Show / Hide Table of Contents

Class GroupBy

A predicate indicating that you want to group like objects together.

Inheritance
System.Object
GroupBy
Implements
IAggregationPredicate
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Redis.OM.Aggregation.AggregationPredicates
Assembly: Redis.OM.dll
Syntax
public class GroupBy : IAggregationPredicate

Constructors

| Improve this Doc View Source

GroupBy(String[])

Initializes a new instance of the GroupBy class.

Declaration
public GroupBy(string[] properties)
Parameters
Type Name Description
System.String[] properties

the properties to group.

Properties

| Improve this Doc View Source

Properties

Gets or sets the properties to group.

Declaration
public string[] Properties { get; set; }
Property Value
Type Description
System.String[]

Methods

| Improve this Doc View Source

Serialize()

Serializes the predicate.

Declaration
public IEnumerable<string> Serialize()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

An array of string arguments for an aggregation.

Implements

IAggregationPredicate
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX