DtTextConsumer

Description

The DtTextConsumer class implements an object that exports data into text files.

Comments

Object of the class can be used for direct export of data array into text files and is also used for adjusting of the Export to Text ETL task object.

Properties inherited from IDtTextConsumer

  Property name Brief description
The DelimitedColumnDelimiter property determines the symbol, used as a field delimiter in the text file.
The DelimitedTextQualifier property determines the character used as a text delimiter.
The Encoding property determines symbols encoding, used during data export.
The File property determines the path and the name of the text file, in which the data is exported.
The FormatType property determines file structure format, according to which data is exported.
The RowDelimiter property determines the symbol, used as a row delimiter.
The TextCodePage property determines the encoding used on export of data to file.
The WriteHeader property determines whether column headers are exported into the first file row.

Properties inherited from IDtConsumer

  Property name Brief description
CalcFieldsErrors

The CalcFieldsErrors property returns a collection of errors appeared on calculated fields calculation.

Properties inherited from IDtObject

  Property name Brief description
Active The Active property returns data source or data consumer state.
Fields The Fields property returns data provider/data consumer fields description.
GetType The GetType property returns data provider/data consumer type.
Metabase The Metabase property determines the repository, in which data is imported or exported.

Methods inherited from IDtConsumer

  Method name Brief description
Clear The Clear method clears a data consumer.
Put The Put method records values array into the data consumer.
PutRow The PutRow method loads values row into the data consumer.
PutProvider The PutProvider method exports all the values of the specified data provider into the data consumer.
WritingRowsCount The WritingRowsCount method returns the number of records written to the data consumer.

Methods inherited from IDtObject

  Method name Brief description
ClearFields The ClearFields method clears fields list of the data provider or data consumer.
Close The Close method closes data provider or data consumer.
FieldsFromFile The FieldsFromFile method reads fields list from the source file.
Load The Load method loads data source or data consumer parameters from XML.
Open The Open method opens data provider or data consumer.
Save The Save method saves data source or data consumer parameters in XML format.

See also:

Dt Assembly Classes