Search Results for

    Show / Hide Table of Contents

    Class UpdateStats

    A helper class for executing the system default UpdateStats procedure

    Inheritance
    object
    BaseSQLWrapperExecuter<SQLWrapperExecuter, ISQLWrapperResult>
    SQLWrapperExecuter
    UpdateStats
    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 UpdateStats : SQLWrapperExecuter

    Constructors

    UpdateStats(IEntityRetriever, IReadOnlyCache)

    Creates a new SQLWrapperExecuter for the UpdateStats standard SQL Wrapper query

    Declaration
    public UpdateStats(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 = "UpdateStats"
    Field Value
    Type Description
    string

    Methods

    Execute(IEntityRetriever, IReadOnlyCache)

    Executes the UpdateStats system SQLWrapper using the specified parameters

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

    A IEntityRetriever context for querying the LemonEdge platform

    IReadOnlyCache cache

    A local cache

    Returns
    Type Description
    Task

    ParametersAreValid()

    Indicates if the parameters are valid for executing the query

    Declaration
    protected override bool ParametersAreValid()
    Returns
    Type Description
    bool

    Always returns True as this accepts no additional parameters

    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.