Search Results for

    Show / Hide Table of Contents

    Class TransactionAssociationExtender

    Inheritance
    object
    EntityDescriptorTemplateExtender
    TransactionAssociationExtender
    Inherited Members
    EntityDescriptorTemplateExtender.TableName(long, Guid, DateTimeOffset?, Guid?, Guid?)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.FinancialServices.Descriptors.Extenders
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    public class TransactionAssociationExtender : EntityDescriptorTemplateExtender

    Constructors

    TransactionAssociationExtender()

    Declaration
    public TransactionAssociationExtender()

    Properties

    ForDescriptor

    The entity that this template extender is for

    Declaration
    public override EntityDescriptor ForDescriptor { get; }
    Property Value
    Type Description
    EntityDescriptor
    Overrides
    EntityDescriptorTemplateExtender.ForDescriptor

    Methods

    FunctionCall(long)

    Returns the function to call for retrieving this entity data

    Declaration
    protected override string FunctionCall(long accountID)
    Parameters
    Type Name Description
    long accountID

    The account id currently running

    Returns
    Type Description
    string

    The function to call for retrieving this entity data

    Overrides
    EntityDescriptorTemplateExtender.FunctionCall(long)

    GetImportDefinition(IReadOnlyCache)

    Returns a list of all entity import column definitions for this entity to use instead of the default system ones

    Declaration
    public override Task<IEnumerable<EntityImportColDefinition>> GetImportDefinition(IReadOnlyCache cache)
    Parameters
    Type Name Description
    IReadOnlyCache cache

    A local cache

    Returns
    Type Description
    Task<IEnumerable<EntityImportColDefinition>>

    A list of all entity import column definitions for this entity to use instead of the default system ones

    Overrides
    EntityDescriptorTemplateExtender.GetImportDefinition(IReadOnlyCache)

    GetImportExtender(params object[])

    Returns a new instance of a import extender which is used by the import process for actually retrieving and updating the properties values defined in GetImportDefinition(IReadOnlyCache)

    Declaration
    public override IEntityDescriptorImportExtender GetImportExtender(params object[] args)
    Parameters
    Type Name Description
    object[] args
    Returns
    Type Description
    IEntityDescriptorImportExtender
    Overrides
    EntityDescriptorTemplateExtender.GetImportExtender(params object[])

    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.