Search Results for

    Show / Hide Table of Contents

    Interface IFormulaImporterContext

    The context used for evaluating formulas against OverrideValueFormula

    Inherited Members
    IFormulaFunctions.GetItemPropertyValue(object, string)
    IFormulaFunctions.Evaluate<T>(string, bool)
    IFormulaFunctions.IsValid<T>(string)
    IFormulaFunctions.IsValid<T>(string, Type)
    IFormulaFunctions.ShareThisQueryCacheWithTarget(IFormulaFunctions)
    IFormulaFunctions.User
    IFormulaFunctions.Data
    IFormulaFunctions.Cache
    Namespace: LemonEdge.API.Core.Processors.Importing
    Assembly: LemonEdge.API.dll
    Syntax
    public interface IFormulaImporterContext : IFormulaFunctions

    Properties

    IsLastRow

    Indicates this item being evaluated is the last row of the dataset being imported

    Declaration
    bool IsLastRow { get; set; }
    Property Value
    Type Description
    bool

    Item

    The item being created/updated and imported

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

    MyRawValue

    The raw value of the import source data for this column

    Declaration
    string MyRawValue { get; set; }
    Property Value
    Type Description
    string

    Methods

    GetValueFromColumnIndex(short)

    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
    short colIndex
    Returns
    Type Description
    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
    string headerName
    Returns
    Type Description
    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
    string header

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

    Returns
    Type Description
    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

    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.