CsvSource

Class CsvSource

Reads data from a csv source. While reading the data from the file, data is also asnychronously posted into the targets. Data is read a as string from the source and dynamically converted into the corresponding data format.

Inherited Members
Namespace: ETLBox.Csv
Assembly: ETLBox.Csv.dll
Syntax
    public class CsvSource : CsvSource<ExpandoObject>, IDataFlowStreamSource<ExpandoObject>, IDataFlowExecutableSource<ExpandoObject>, IDataFlowSource<ExpandoObject>, IDataFlowStreamSource, IDataFlowExecutableSource, IDataFlowSource, IDataFlowComponent, ILoggableTask
Examples
  CsvSource<CSVData> source = new CsvSource<CSVData>("Demo.csv");
                                                                                  source.Configuration.Delimiter = ";";

Constructors

CsvSource()

Declaration
    public CsvSource()

CsvSource(string)

Declaration
    public CsvSource(string uri)
Parameters
TypeNameDescription
stringuri

The source csv file name or uri

CsvSource(string, ResourceType)

Declaration
    public CsvSource(string uri, ResourceType resourceType)
Parameters
TypeNameDescription
stringuri

The source csv file name or uri

ResourceTyperesourceType

Specifies if data is loaded from a file, a web endpoint or other storage types (e.g. Azure Blob Storage)

Implements