AggregateColumn

Class AggregateColumn

This attribute is used to identify the aggregation property for aggregations.

Inheritance
AggregateColumn
Inherited Members
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
    [AttributeUsage(AttributeTargets.Property)]
public sealed class AggregateColumn : Attribute

Constructors

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
TypeNameDescription
stringinputValuePropName

Property name in the input object that contains the detailed values.

AggregationMethodaggregationMethod

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
TypeDescription
string

AggregationMethod

Method for the aggregation (e.g. Sum, Min, Max, etc.)

Declaration
    public AggregationMethod AggregationMethod { get; set; }
Property Value
TypeDescription
AggregationMethod

CustomFunction

Declaration
    public Func<object, object, object> CustomFunction { get; set; }
Property Value
TypeDescription
Func<object, object, object>

InputValuePropName

Property name in the input object that contains the detailed values.

Declaration
    public string InputValuePropName { get; set; }
Property Value
TypeDescription
string

Predicate

Declaration
    public Predicate<object> Predicate { get; set; }
Property Value
TypeDescription
Predicate<object>