Class CustomBatchDestination
Define your own batch destination block. This block accepts all data from the flow and will create batches of incoming data which can be processed with the WriteBatchAction.
Inheritance
CustomBatchDestination
Implements
Inherited Members
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
public class CustomBatchDestination : CustomBatchDestination<ExpandoObject>, IDataFlowBatchDestination<ExpandoObject>, IDataFlowDestination<ExpandoObject>, IDataFlowBatchDestination, IDataFlowDestination, IDataFlowComponent, ILoggableTaskConstructors
CustomBatchDestination()
Declaration
public CustomBatchDestination()CustomBatchDestination(Action<ExpandoObject[], int>)
Declaration
public CustomBatchDestination(Action<ExpandoObject[], int> writeAction)Parameters
| Type | Name | Description |
|---|---|---|
| Action<ExpandoObject[], int> | writeAction |
CustomBatchDestination(int, Action<ExpandoObject[], int>)
Declaration
public CustomBatchDestination(int batchSize, Action<ExpandoObject[], int> writeAction)Parameters
| Type | Name | Description |
|---|---|---|
| int | batchSize | |
| Action<ExpandoObject[], int> | writeAction |