Class CustomBatchSource
Define your own source block. This block allows you to read batches of data from your own custom written functions, which are then send subsequently into your data flow.
Inheritance
System.Object
DataFlowSource<System.Dynamic.ExpandoObject>
DataFlowExecutableSource<System.Dynamic.ExpandoObject>
CustomBatchSource<System.Dynamic.ExpandoObject>
CustomBatchSource
Implements
IDataFlowExecutableSource<System.Dynamic.ExpandoObject>
IDataFlowSource<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 CustomBatchSource : CustomBatchSource<ExpandoObject>, ILoggableTask, IDataFlowLogging, IDataFlowExecutableSource<ExpandoObject>, IDataFlowSource<ExpandoObject>, IDataFlowSource, IDataFlowComponent, IDataFlowExecutableSource
Constructors
CustomBatchSource()
Declaration
public CustomBatchSource()
CustomBatchSource(Func<Int32, IEnumerable<ExpandoObject>>, Predicate<Int32>)
Declaration
public CustomBatchSource(Func<int, IEnumerable<ExpandoObject>> readFunc, Predicate<int> readingCompleted)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Int32, System.Collections.Generic.IEnumerable<System.Dynamic.ExpandoObject>> | readFunc | |
System.Predicate<System.Int32> | readingCompleted |