Search Results for

    Show / Hide Table of Contents

    Class CSVImporter.MappedData

    A class holding a line of data being imported from the file

    Inheritance
    object
    CSVImporter.MappedData
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.