Search Results for

    Show / Hide Table of Contents

    Class DataMapping

    An implementation of IDataMappingBase used for providing mappings for importing data with

    See https://help.lemonedge.com/data-mappings/ for more information

    Inheritance
    object
    DataMapping
    Implements
    IDataMappingBase
    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 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

    Implements

    IDataMappingBase

    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.