RowDuplication

Class RowDuplication

Creates one or more duplicates of your incoming row. Use the CanDuplicate property if you want to duplicate only particular rows.

Inherited Members
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
    public class RowDuplication : RowDuplication<ExpandoObject>, IDataFlowTransformation<ExpandoObject, ExpandoObject>, IDataFlowSource<ExpandoObject>, IDataFlowSource, IDataFlowDestination<ExpandoObject>, IDataFlowDestination, IDataFlowComponent, ILoggableTask
Examples
  var source = new DbSource<InputType>("SourceTable");
                       RowDuplication<InputType> duplication = new RowDuplication<InputType>(3);
                       var dest = new CsvDestination<InputType>("output.csv");
                       source.LinkTo(duplication).LinkTo(dest);

Constructors

RowDuplication()

Declaration
    public RowDuplication()

RowDuplication(int)

Declaration
    public RowDuplication(int numberOfDuplicates)
Parameters
TypeNameDescription
intnumberOfDuplicates

RowDuplication(Predicate<ExpandoObject>)

Declaration
    public RowDuplication(Predicate<ExpandoObject> canDuplicate)
Parameters
TypeNameDescription
Predicate<ExpandoObject>canDuplicate

RowDuplication(Predicate<ExpandoObject>, int)

Declaration
    public RowDuplication(Predicate<ExpandoObject> canDuplicate, int numberOfDuplicates)
Parameters
TypeNameDescription
Predicate<ExpandoObject>canDuplicate
intnumberOfDuplicates

Implements