Search Results for

    Show / Hide Table of Contents

    Interface IFormulaImporterContext

    The context used for evaluating formulas against OverrideValueFormula

    Inherited Members
    IFormulaFunctions.User
    IFormulaFunctions.Data
    IFormulaFunctions.Cache
    IFormulaFunctions.GetItemPropertyValue(Object, String)
    Namespace: LemonEdge.Entities.Processors.Importing
    Assembly: API.dll
    Syntax
    public interface IFormulaImporterContext : IFormulaFunctions

    Properties

    Item

    The item being created/updated and imported

    Declaration
    IBaseEntity Item { get; }
    Property Value
    Type Description
    IBaseEntity

    Methods

    GetValueFromColumnIndex(Int16)

    Returns the raw string data from the import file for the mapping property that matches on Sequence

    Declaration
    string GetValueFromColumnIndex(short colIndex)
    Parameters
    Type Name Description
    System.Int16 colIndex
    Returns
    Type Description
    System.String

    The raw string data from the import file for the mapping property that matches on Sequence

    GetValueFromHeaderName(String)

    Returns the raw string data from the import file for the mapping property that matches on ColumnHeaderName

    Declaration
    string GetValueFromHeaderName(string headerName)
    Parameters
    Type Name Description
    System.String headerName
    Returns
    Type Description
    System.String

    The raw string data from the import file for the mapping property that matches on ColumnHeaderName

    GetValueFromMappedProperty(String)

    Returns the raw string data from the import file for the mapping property that matches on PropertyName

    Declaration
    string GetValueFromMappedProperty(string header)
    Parameters
    Type Name Description
    System.String header

    The property name of the mapping property to retrieve the value from that matches on PropertyName

    Returns
    Type Description
    System.String

    The raw string data from the import file for the mapping property that matches on PropertyName

    ItemAs<T>()

    The imported item cast as the type of entity it should be

    Declaration
    T ItemAs<T>()
    
        where T : IBaseEntity
    Returns
    Type Description
    T

    The imported item cast as the type of entity it should be

    Type Parameters
    Name Description
    T

    The type of entity that should be being imported

    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.