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
System.Object
DataFlowDestination<System.Dynamic.ExpandoObject>
DataFlowBatchDestination<System.Dynamic.ExpandoObject>
CustomBatchDestination<System.Dynamic.ExpandoObject>
CustomBatchDestination
Implements
IDataFlowBatchDestination<System.Dynamic.ExpandoObject>
IDataFlowDestination<System.Dynamic.ExpandoObject>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ETLBox.DataFlow.Connectors
Assembly: ETLBox.dll
Syntax
public class CustomBatchDestination : CustomBatchDestination<ExpandoObject>, ILoggableTask, IDataFlowLogging, IDataFlowBatchDestination<ExpandoObject>, IDataFlowDestination<ExpandoObject>, IDataFlowDestination, IDataFlowComponent, IDataFlowBatchDestination
Constructors
CustomBatchDestination()
Declaration
public CustomBatchDestination()
CustomBatchDestination(Action<ExpandoObject[], Int32>)
Declaration
public CustomBatchDestination(Action<ExpandoObject[], int> writeAction)
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.Dynamic.ExpandoObject[], System.Int32> | writeAction |
CustomBatchDestination(Int32, Action<ExpandoObject[], Int32>)
Declaration
public CustomBatchDestination(int batchSize, Action<ExpandoObject[], int> writeAction)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | batchSize | |
System.Action<System.Dynamic.ExpandoObject[], System.Int32> | writeAction |