Search Results for

    Show / Hide Table of Contents

    Class EntitySetStructure

    A class responsible for taking an IEntitySetBase and loading its structure , allowing that to be traversed using nodes and links

    This structure comes from the EntitySets entities (ISetEntity), their rules ( IAllocationRule) and paths (IAllocationPath)

    Inheritance
    object
    EntitySetStructure
    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
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    public class EntitySetStructure

    Constructors

    EntitySetStructure(IEntitySetBase[], IAllocationPath[], bool, bool)

    Creates a new entity structure for the given entity set, and an optional path to highlight

    Declaration
    public EntitySetStructure(IEntitySetBase[] sets, IAllocationPath[] highlightPaths, bool showChainedAllocations, bool showSingleInvestorVehicles)
    Parameters
    Type Name Description
    IEntitySetBase[] sets
    IAllocationPath[] highlightPaths
    bool showChainedAllocations
    bool showSingleInvestorVehicles

    Properties

    Links

    All the links between entities within the structure

    Declaration
    public IEnumerable<EntityStructureLink> Links { get; }
    Property Value
    Type Description
    IEnumerable<EntityStructureLink>

    Nodes

    All the entities within the structure

    Declaration
    public IEnumerable<EntitySetStructureNode> Nodes { get; }
    Property Value
    Type Description
    IEnumerable<EntitySetStructureNode>

    Methods

    InitClosingDate(DateTime?)

    Declaration
    public void InitClosingDate(DateTime? closingDate)
    Parameters
    Type Name Description
    DateTime? closingDate

    Load(IEntityRetriever, IReadOnlyCache)

    Loads the entities in the entity set, and calculates the structure between the entities from allocation rules and paths

    Declaration
    public Task Load(IEntityRetriever retriever, IReadOnlyCache cache)
    Parameters
    Type Name Description
    IEntityRetriever retriever

    The context to load the structure with

    IReadOnlyCache cache
    Returns
    Type Description
    Task

    A task representing the completion of the operation

    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.