Search Results for

    Show / Hide Table of Contents

    Class GetTransactionsForEntities

    Returns a set of ITransaction entities that have transaction allocations for the specified EntityID, not included in the specified transfer, and less than the specified date

    The EntityID for the transaction includes or excludes the specified entities too

    Used for TransactionAllocatedTransferProcessorExtender, and can be called using ExecuteCustomQuery<T>(String, Object[]).
    Inheritance
    System.Object
    CustomServiceQueryExtender<ITransaction>
    GetTransactionsForEntities
    Inherited Members
    CustomServiceQueryExtender<ITransaction>.Helper
    CustomServiceQueryExtender<ITransaction>.BaseItems
    CustomServiceQueryExtender<ITransaction>.BaseItemsForType
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Entities.Processors.Transactional
    Assembly: API.dll
    Syntax
    public class GetTransactionsForEntities : CustomServiceQueryExtender<ITransaction>

    Methods

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

    Returns a set of ITransaction entities that have transaction allocations for the specified EntityID, not included in the specified transfer, and less than the specified date

    Declaration
    public IQueryable<ITransaction> GetTransactionAmountsForEntities(Guid transferID, DateTimeOffset endDate, AllocationTiming timing, Guid[] includeEntityIDs, Guid[] excludeEntityIDs, Guid[] includeTransTypeIDs, Guid[] excludeTransTypeIDs, Guid forAllocatedEntityID)
    Parameters
    Type Name Description
    System.Guid transferID

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

    System.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 just less than the end date.

    System.Guid[] includeEntityIDs

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

    System.Guid[] excludeEntityIDs

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

    System.Guid[] includeTransTypeIDs

    Specifies a set of transaction types that the transaction (EntityID) of the returned amounts must contain values of.

    System.Guid[] excludeTransTypeIDs

    Specifies a set of transaction types that the transaction (EntityID) of the returned amounts must not contain values of.

    System.Guid forAllocatedEntityID

    Specifies the entity id the transaction amounts must be for

    Returns
    Type Description
    System.Linq.IQueryable<ITransaction>

    A set of ITransaction entities that have transaction allocations for the specified EntityID, not included in the specified transfer, and less than the specified date

    Init()

    Initializes the query extender by loading all ITransactionTypeValue from the cache

    Declaration
    public override Task Init()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A task indicating the completion of the operation

    Overrides
    LemonEdge.Core.CustomServiceQueryExtender<LemonEdge.API.Entities.ITransaction>.Init()

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    CustomServiceQueryExtender<T>
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.