Class WebAppUsageRecorder
Utility class to insert or update a row in WebAppUsage.
Implements
Inherited Members
Namespace: SuperOffice.Util
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class WebAppUsageRecorder : IWebAppUsageRecorder
Constructors
WebAppUsageRecorder()
Utility class to insert or update a row in WebAppUsage.
Declaration
public WebAppUsageRecorder()
Methods
RecordUsageAsync(string, DateTime, int, uint)
Record database usage: insert a new record, or update an existing one
Declaration
public Task RecordUsageAsync(string viewState, DateTime timestamp, int assocId, uint aggregateCount)
Parameters
| Type | Name | Description |
|---|---|---|
| string | viewState | Key field |
| DateTime | timestamp | |
| int | assocId | Key field |
| uint | aggregateCount | Value, added to any existing value with the same key combination |
Returns
| Type | Description |
|---|---|
| Task |