Class UpdateStats
A helper class for executing the system default UpdateStats procedure
Inheritance
UpdateStats
Inherited Members
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 |