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
    System.Object
    DataMapping
    Implements
    IDataMappingBase
    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 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
    System.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
    System.Boolean

    Implements

    IDataMappingBase

    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.