Table of Contents

Constructor Aggregate

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

Aggregate(AggregateType)

Creates a new aggregate without any elements.

public Aggregate(AggregateType aggregateType)

Parameters

aggregateType AggregateType

The type of aggregate operation to perform.

Aggregate(AggregateType, IElement)

Creates a new aggregate with a single element.

public Aggregate(AggregateType aggregateType, IElement element)

Parameters

aggregateType AggregateType

The type of aggregate operation to perform.

element IElement

The column or expression to aggregate.

Aggregate(AggregateType, IEnumerable<IElement>)

Creates a new aggregate with multiple elements.

public Aggregate(AggregateType aggregateType, IEnumerable<IElement> elements)

Parameters

aggregateType AggregateType

The type of aggregate operation to perform.

elements IEnumerable<IElement>

The collection of columns, operators, and expressions to aggregate.

Aggregate(AggregateType, params IElement[])

Creates a new aggregate with multiple elements.

public Aggregate(AggregateType aggregateType, params IElement[] elements)

Parameters

aggregateType AggregateType

The type of aggregate operation to perform.

elements IElement[]

The array of columns, operators, and expressions to aggregate.