Class DataMapping
An implementation of IDataMappingBase used for providing mappings for importing data with
See https://help.lemonedge.com/data-mappings/ for more information
Implements
Inherited Members
Namespace: LemonEdge.API.Core.Processors.Importing
Assembly: LemonEdge.API.dll
Syntax
public class DataMapping : IDataMappingBase
Constructors
DataMapping()
Creates a default mapping header, with UseHeaders = true, Encoding = Unicode, and Delimter = ,
Declaration
public DataMapping()
Properties
Delimter
Indicates the string used to signify data delineation.
If this string is to be used as a valid piece of data that data must be surrounded by double quotes. (").
The default is the comma(,).Declaration
public char Delimter { get; set; }
Property Value
Type | Description |
---|---|
char |
Encoding
The type of encoding this file will be formatted in.
Valid Values: ASCII, BigEndianUnicode, Unicode, UTF32, UTF8, UTF7.
Declaration
public TextFileEncoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
TextFileEncoding |
UseHeaders
Indicates if this file will have column headers
Declaration
public bool UseHeaders { get; set; }
Property Value
Type | Description |
---|---|
bool |