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.

For internal use only.

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; }

 

ReadOnly Property AggregateType() As AggregateType

Argument

Query expression on which the aggregate operator is applied.

 

property Argument: Expression read;

 

Expression Argument { get; }

 

ReadOnly Property Argument() As Expression

IsDistinct

 

property IsDistinct: Boolean read;

 

Boolean IsDistinct { get; }

 

ReadOnly Property 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: