Search Results for

    Show / Hide Table of Contents

    Class CSVImporter.MappedData

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

    Inheritance
    System.Object
    CSVImporter.MappedData
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Entities.Processors.Importing
    Assembly: API.dll
    Syntax
    public class MappedData

    Constructors

    MappedData(Int32)

    Creates a new mapping of the data for the specified line number

    Declaration
    public MappedData(int lineNumber)
    Parameters
    Type Name Description
    System.Int32 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
    System.Collections.Generic.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
    System.Int32

    Methods

    AddData(CSVImporter.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

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.