The Aggregate type exposes the following members.

Constructors

  Name Description
Public method Aggregate(String)
Initializes a new instance of the Aggregate class, assigning the name of the aggregate.
Public method Aggregate(String, String, C1DataBinding, RunningEnum, AggregateFuncEnum)
Initializes a new instance of the Aggregate class, assigning the name, expression, data binding, scope and function of the aggregate.

Methods

  Name Description
Public method AssignFrom
Assigns (copies) properties from another Aggregate to the current object.
(Overrides NamedCollectionItem..::..AssignFrom(NamedCollectionItem).)
Protected method SetName
Sets the name of the current Aggregate.
(Overrides NamedCollectionItem..::..SetName(String).)
Protected method SetNameInt
For internal use.
(Inherited from NamedCollectionItem.)

Properties

  Name Description
Public property DataBinding
Gets or sets the data binding providing data over which the current aggregate is calculated.
Public property Expression
Gets the Expression object used to calculate the value of the current aggregate.
Public property ExpressionText
Gets or sets the text of the Expression object used to calculate the value of the current aggregate.
Public property Func
Gets or sets the function (min, max, average and so on) calculated by the current aggregate.
Public property IgnoreNullValues
Gets or sets a value indicating whether null values should be ignored when the current aggregate is calculated.
Public property Name
Gets or sets the unique name of the current object. If an item with the specified name already exists in the collection, an exception is thrown.
(Inherited from NamedCollectionItem.)
Public property Owner
Gets the AggregateCollection containing the current aggregate.
Public property Running
Gets or sets a RunningEnum value determining the scope of the current aggregate: whether it is calculated over all records, or separately for each group.
Public property Value
Gets the value of the current aggregate, calculating it if it has not been calculated yet (the calculated value is cached).

See Also