Interface IDataMappingBase
A common interface that a data mapping implements. The system entity IDataMapping implements this functionality
See https://web.lemonedge.com/help/data-mappings/ for more information
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
public interface IDataMappingBase
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
[EntityProperty(SQLType.NChar, false)]
[EntityDescription("Holds the character to seperate data in this file.")]
[HardCodedDefaultValueOnNew(",")]
char Delimter { get; set; }
Property Value
Type | Description |
---|---|
System.Char |
Encoding
The type of encoding this file will be formatted in.
Valid Values: ASCII, BigEndianUnicode, Unicode, UTF32, UTF8, UTF7.
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[HardCodedDefaultValueOnNew("5")]
[EntityDescription("Holds the encoding of the file holding the data.")]
TextFileEncoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
TextFileEncoding |
UseHeaders
Indicates if this file will have column headers
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates headers are to be used in the csv file, if false then mappings are column order dependant.")]
[HardCodedDefaultValueOnNew("true")]
bool UseHeaders { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |