Class AggregateColumn
This attribute is used to identify the aggregation property for aggregations.
Inherited Members
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class AggregateColumn : AttributeConstructors
AggregateColumn()
Declaration
public AggregateColumn()AggregateColumn(string, AggregationMethod)
Sets the property name in the aggregation output object and the aggregation method
Declaration
public AggregateColumn(string inputValuePropName, AggregationMethod aggregationMethod)Parameters
| Type | Name | Description |
|---|---|---|
| string | inputValuePropName | Property name in the input object that contains the detailed values. |
| AggregationMethod | aggregationMethod | Method for the aggregation (e.g. Sum, Min, Max, etc.) |
Properties
AggregatedValuePropName
Property name that holds the aggregated value in the output object
Declaration
public string AggregatedValuePropName { get; set; }Property Value
| Type | Description |
|---|---|
| string |
AggregationMethod
Method for the aggregation (e.g. Sum, Min, Max, etc.)
Declaration
public AggregationMethod AggregationMethod { get; set; }Property Value
| Type | Description |
|---|---|
| AggregationMethod |
CustomFunction
Declaration
public Func<object, object, object> CustomFunction { get; set; }Property Value
| Type | Description |
|---|---|
| Func<object, object, object> |
InputValuePropName
Property name in the input object that contains the detailed values.
Declaration
public string InputValuePropName { get; set; }Property Value
| Type | Description |
|---|---|
| string |
Predicate
Declaration
public Predicate<object> Predicate { get; set; }Property Value
| Type | Description |
|---|---|
| Predicate<object> |