AggregateColumn Constructor (AggregateType, String, String)
Create a non-custom aggregate column.
Namespace:
Tortuga.Chain.AggregatesAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public AggregateColumn( AggregateType aggregateType, string sourceColumnName, string outputColumnName )
Public Sub New ( _ aggregateType As AggregateType, _ sourceColumnName As String, _ outputColumnName As String _ )
public: AggregateColumn( AggregateType^ aggregateType, String^ sourceColumnName, String^ outputColumnName )
Parameters
- aggregateType
- Type: Tortuga.Chain.Aggregates..::..AggregateType
Type of the aggregate. Cannot be Custom.
- sourceColumnName
- Type: String
Name of the source column.
- outputColumnName
- Type: String
Name of the output column.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | aggregateType - Cannot use this overload with AggregateType.Custom. Use the one with a SelectExpression. |
ArgumentException | columnName is null or empty. |
ArgumentException | asColumnName is null or empty. |