Interface IWebAppUsageRecorder
Directly save WebAppUsage records to the database
Namespace: SuperOffice.Util
Assembly: SoCore.dll
Syntax
public interface IWebAppUsageRecorder
Methods
RecordUsageAsync(string, DateTime, int, uint)
Record database usage: insert a new record, or update an existing one
Declaration
Task RecordUsageAsync(string viewState, DateTime timeStamp, int assocId, uint aggregateCount)
Parameters
| Type | Name | Description |
|---|---|---|
| string | viewState | Key field |
| DateTime | timeStamp | Key field, only date is used |
| int | assocId | Key field |
| uint | aggregateCount | Value, added to any existing value with the same key combination |
Returns
| Type | Description |
|---|---|
| Task |