Search Results for

    Show / Hide Table of Contents

    Class TransactionPathSplitUpdater

    Updates Transaction path split property if needed. Path splits for Transactions and allocation paths. optionally also saves the changes

    Inheritance
    object
    TransactionPathSplitUpdater
    Implements
    ITransactionPathSplitUpdater
    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.FinancialServices.Helpers.PathSplit
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    public class TransactionPathSplitUpdater : ITransactionPathSplitUpdater

    Constructors

    TransactionPathSplitUpdater(IEntityUpdater, IPathSplitIdProvider, UserInfo)

    Declaration
    public TransactionPathSplitUpdater(IEntityUpdater entityUpdater, IPathSplitIdProvider pathSplitIdProvider, UserInfo userInfo)
    Parameters
    Type Name Description
    IEntityUpdater entityUpdater
    IPathSplitIdProvider pathSplitIdProvider
    UserInfo userInfo

    Methods

    UpdatePathSplits(ITransaction, IAllocationPath, bool)

    Calculates path split for transaction and allocation path, logs changes and optionally saves them

    Declaration
    public Task<(bool, ITransactionPathSplit)> UpdatePathSplits(ITransaction transaction, IAllocationPath allocationPath, bool save)
    Parameters
    Type Name Description
    ITransaction transaction

    Transaction for which to calculate path split

    IAllocationPath allocationPath

    Allocation path used in calculation

    bool save

    If true also save changes

    Returns
    Type Description
    Task<(bool, ITransactionPathSplit)>

    Update task

    Implements

    ITransactionPathSplitUpdater

    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.