AggregateExpression

Overview

AggregateExpression is a class used for processing a call to the DA LINQ aggregate operator (Count, Min, Max, Sum or Average), which applies to values selected by a query.

It computes a single value from a collection of values. For example, a maximum of the selected values.

Location

Properties


AggregateType

A type of aggregate operator (Count, Min, Max, Sum or Average) used on the argument expression.

 

property AggregateType: AggregateType read;

 

AggregateType AggregateType { get; }

 

Property ReadOnly AggregateType As AggregateType

Argument

Query expression on which the aggregate operator is applied.

 

property Argument: Expression read;

 

Expression Argument { get; }

 

Property ReadOnly Argument As Expression

IsDistinct

 

property IsDistinct: Boolean read;

 

Boolean IsDistinct { get; }

 

Property ReadOnly IsDistinct As Boolean

Instance Methods


constructor

 

constructor(type: Type; aggregateType: AggregateType; argument: Expression; isDistinct: Boolean)

 

AggregateExpression(Type type, AggregateType aggregateType, Expression argument, Boolean isDistinct)

 

Sub New (type As Type, aggregateType As AggregateType, argument As Expression, isDistinct As Boolean)

Parameters:

  • type:
  • aggregateType:
  • argument:
  • isDistinct: