Search Results for

    Show / Hide Table of Contents

    Class CreateCapitalAccountData

    A helper class for executing the system default CreateCapitalAccountData procedure

    See https://help.lemonedge.com/createcapitalaccountdata/ for more information.

    Inheritance
    object
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>
    SQLWrapperExecuter
    CreateCapitalAccountData
    Inherited Members
    SQLWrapperExecuter.GetWrapperInterpretor()
    SQLWrapperExecuter.Execute(CancellationToken)
    SQLWrapperExecuter.ExecuteCount()
    SQLWrapperExecuter.GetResultValue(ISQLWrapperResult, string)
    SQLWrapperExecuter.GetResultValue<T>(ISQLWrapperResult, string)
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>._sqlWrapperName
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>._sqlWrapperID
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>._sqlWrapper
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>._params
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.GetWrapper()
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.ClearParameters()
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.AddParameters(IReadOnlyDictionary<string, string>)
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.AddParameter<V>(string, V)
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.AddParameter(string, bool)
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.AddParameter<V>(string, V?)
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.AddAsOfDate(DateTimeOffset)
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.AddCanvasID(Guid)
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.ClearFilter()
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.SetFilter(QueryableExecuter<ISQLWrapperResult>)
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.ParametersAreValid()
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.GetFilter()
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.GetQueryArgumentsAndFilter()
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.Execute(CancellationToken)
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.ExecuteCount()
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.Retriever
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.Cache
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.Parameters
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.Filter
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Entities.Helpers.Queries
    Assembly: LemonEdge.API.dll
    Syntax
    public class CreateCapitalAccountData : SQLWrapperExecuter

    Constructors

    CreateCapitalAccountData(IEntityRetriever, IReadOnlyCache)

    Creates a new SQLWrapperExecuter for the CreateCapitalAccountData standard SQL Wrapper query

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

    A IEntityRetriever context for querying the LemonEdge platform

    IReadOnlyCache cache

    A local cache

    Fields

    QUERYNAME

    Global name of the SQLWrapper query

    Declaration
    public const string QUERYNAME = "CreateCapitalAccountData"
    Field Value
    Type Description
    string

    Methods

    AddCommitted(bool)

    Indicates if this process should include committed transactions or not

    Declaration
    public CreateCapitalAccountData AddCommitted(bool includeCommitted)
    Parameters
    Type Name Description
    bool includeCommitted

    Indicates if this process should include committed transactions or not

    Returns
    Type Description
    CreateCapitalAccountData

    This CreateCapitalAccountData instance for chaining commands

    AddIncludeUnderlying(bool)

    Declaration
    public CreateCapitalAccountData AddIncludeUnderlying(bool includeUnderlying)
    Parameters
    Type Name Description
    bool includeUnderlying
    Returns
    Type Description
    CreateCapitalAccountData

    AddPeriodEndID(Guid)

    The period end parameter for the CreateCapitalAccountData sql wrapper

    Declaration
    public CreateCapitalAccountData AddPeriodEndID(Guid periodEndID)
    Parameters
    Type Name Description
    Guid periodEndID

    The period end id to run the CreateCapitalAccountData query with

    Returns
    Type Description
    CreateCapitalAccountData

    This CreateCapitalAccountData instance for chaining commands

    AddRetainedEarnings(bool)

    Declaration
    public CreateCapitalAccountData AddRetainedEarnings(bool includeRetainedEarnings)
    Parameters
    Type Name Description
    bool includeRetainedEarnings
    Returns
    Type Description
    CreateCapitalAccountData

    Execute(IEntityRetriever, IReadOnlyCache, Guid, bool, bool, bool)

    Executes the CreateCapitalAccountData system SQLWrapper using the specified parameters

    Declaration
    public static Task Execute(IEntityRetriever retriever, IReadOnlyCache cache, Guid periodEndID, bool includeCommitted, bool includeRetainedEarnings, bool includeUnderlying)
    Parameters
    Type Name Description
    IEntityRetriever retriever

    A IEntityRetriever context for querying the LemonEdge platform

    IReadOnlyCache cache

    A local cache

    Guid periodEndID

    The period end parameter for the CreateCapitalAccountData sql wrapper

    bool includeCommitted

    Indicates if this process should include committed transactions or not

    bool includeRetainedEarnings
    bool includeUnderlying
    Returns
    Type Description
    Task

    A task indicating the completion of running the CreateCapitalAccountData procedure

    Execute(Guid, bool, bool, bool)

    Executes the CreateCapitalAccountData system SQLWrapper using the specified parameters

    Declaration
    public Task Execute(Guid periodEndID, bool includeCommitted, bool includeRetainedEarnings, bool includeUnderlying)
    Parameters
    Type Name Description
    Guid periodEndID

    The period end parameter for the CreateCapitalAccountData sql wrapper

    bool includeCommitted

    Indicates if this process should include committed transactions or not

    bool includeRetainedEarnings
    bool includeUnderlying
    Returns
    Type Description
    Task

    A task indicating the completion of running the CreateCapitalAccountData procedure

    ParametersAreValid()

    Indicates if the parameters are valid for executing the query

    Declaration
    protected override bool ParametersAreValid()
    Returns
    Type Description
    bool

    True if the parameters contain a value for @periodEndID

    Overrides
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>.ParametersAreValid()

    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.