Class RowTransformation
The RowTransformation will apply the transformation function to each row of data.
Inheritance
RowTransformation
Implements
Inherited Members
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
public class RowTransformation : RowTransformation<ExpandoObject>, IDataFlowTransformation<ExpandoObject, ExpandoObject>, IDataFlowSource<ExpandoObject>, IDataFlowSource, IDataFlowDestination<ExpandoObject>, IDataFlowDestination, IDataFlowComponent, ILoggableTaskExamples
RowTransformation<InputType, OutputType> trans = new RowTransformation<InputType, OutputType>(
row => {
return new OutputType() { Value = row.Value + 1 };
});Constructors
RowTransformation()
Declaration
public RowTransformation()RowTransformation(Func<ExpandoObject, ExpandoObject>)
Declaration
public RowTransformation(Func<ExpandoObject, ExpandoObject> rowTransformationFunc)Parameters
| Type | Name | Description |
|---|---|---|
| Func<ExpandoObject, ExpandoObject> | rowTransformationFunc |
RowTransformation(Func<ExpandoObject, ExpandoObject>, Action)
Declaration
public RowTransformation(Func<ExpandoObject, ExpandoObject> rowTransformationFunc, Action initAction)Parameters
| Type | Name | Description |
|---|---|---|
| Func<ExpandoObject, ExpandoObject> | rowTransformationFunc | |
| Action | initAction |