The Aggregate type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Aggregate(String) |
Initializes a new instance of the Aggregate class,
assigning the name of the aggregate.
|
|
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 | |
---|---|---|
AssignFrom |
Assigns (copies) properties from another Aggregate to the current object.
(Overrides NamedCollectionItem..::..AssignFrom(NamedCollectionItem).) |
|
SetName |
Sets the name of the current Aggregate.
(Overrides NamedCollectionItem..::..SetName(String).) |
|
SetNameInt |
For internal use.
(Inherited from NamedCollectionItem.) |
Properties
Name | Description | |
---|---|---|
DataBinding |
Gets or sets the data binding providing data over which the current aggregate is calculated.
|
|
Expression |
Gets the Expression object used to calculate the value of the current aggregate.
|
|
ExpressionText |
Gets or sets the text of the Expression object used to calculate the value of the current aggregate.
|
|
Func |
Gets or sets the function (min, max, average and so on) calculated by the current aggregate.
|
|
IgnoreNullValues |
Gets or sets a value indicating whether null values should be ignored
when the current aggregate is calculated.
|
|
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.) |
|
Owner |
Gets the AggregateCollection containing the current aggregate.
|
|
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.
|
|
Value |
Gets the value of the current aggregate, calculating it if it has not been calculated yet
(the calculated value is cached).
|