Search Results for

    Show / Hide Table of Contents

    Class GetAllocationAmountsForEntities

    Returns a set of IAllocationAmount entities that are for the specified EntityID, not included in the specified transfer, and less than the specified date

    The EntityID for the parent rule includes or excludes the specified entities too

    Used by AllocationTransferProcessorExtender, and can be called using ExecuteCustomQuery<T>(string, params object[]).
    Inheritance
    object
    CustomServiceQueryExtender<IAllocationAmount>
    GetAllocationAmountsForEntities
    Inherited Members
    CustomServiceQueryExtender<IAllocationAmount>.Init()
    CustomServiceQueryExtender<IAllocationAmount>.Helper
    CustomServiceQueryExtender<IAllocationAmount>.BaseItems
    CustomServiceQueryExtender<IAllocationAmount>.BaseItemsForType
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.FinancialServices.Processors.Transactional.CustomQueries
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    public class GetAllocationAmountsForEntities : CustomServiceQueryExtender<IAllocationAmount>

    Constructors

    GetAllocationAmountsForEntities()

    Declaration
    public GetAllocationAmountsForEntities()

    Methods

    GetAllocatedAmountsForEntities(Guid, DateTimeOffset, AllocationTiming, Guid[], Guid[], Guid)

    Returns a set of IAllocationAmount entities that are for the specified EntityID, not included in the specified transfer, and less than the specified date

    Declaration
    public IQueryable<IAllocationAmount> GetAllocatedAmountsForEntities(Guid transferID, DateTimeOffset endDate, AllocationTiming timing, Guid[] includeEntityIDs, Guid[] excludeEntityIDs, Guid forAllocatedEntityID)
    Parameters
    Type Name Description
    Guid transferID

    The transfer id to make sure the allocation amounts are not associated with

    DateTimeOffset endDate

    The end date to make sure all matching allocation amounts have an effective date less than

    AllocationTiming timing

    If EndOfDay then the EffectiveDate must be less than or equal to endDate. Otherwise the effective date of the allocation must be less than the end date (if its timing is end of day) and less than or equal to otherwise.

    Guid[] includeEntityIDs

    Specifies a set of entities that the parent allocation rules ( EntityID) of the returned amounts must be against.

    Guid[] excludeEntityIDs

    Specifies a set of entities that the parent allocation rules ( EntityID) of the returned amounts must not be against.

    Guid forAllocatedEntityID

    Specifies the entity id the allocation amounts must be for

    Returns
    Type Description
    IQueryable<IAllocationAmount>

    A set of IAllocationAmount entities that are for the specified EntityID, not included in the specified transfer, and less than the specified date

    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)

    See Also

    CustomServiceQueryExtender<T>
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.