Class CSVImporter.MappedData
A class holding a line of data being imported from the file
Inherited Members
Namespace: LemonEdge.API.Core.Processors.Importing
Assembly: LemonEdge.API.dll
Syntax
public class CSVImporter.MappedData
Constructors
MappedData(int)
Creates a new mapping of the data for the specified line number
Declaration
public MappedData(int lineNumber)
Parameters
Type | Name | Description |
---|---|---|
int | lineNumber | The line number of the data this is importing |
Properties
Data
A list of all columns in this row of data
Declaration
public IReadOnlyList<CSVImporter.MappedColumnData> Data { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<CSVImporter.MappedColumnData> |
Item
The item that is being updated, created or delete via the import routine
Declaration
public IBaseEntity Item { get; set; }
Property Value
Type | Description |
---|---|
IBaseEntity |
LineNumber
The line number of the data this is importing
Declaration
public int LineNumber { get; }
Property Value
Type | Description |
---|---|
int |
Methods
AddData(MappedColumnData)
Adds the specified column for a cells of data to this mapped data
Declaration
public void AddData(CSVImporter.MappedColumnData data)
Parameters
Type | Name | Description |
---|---|---|
CSVImporter.MappedColumnData | data | The column to add |