Show / Hide Table of Contents

Class WebAppUsageRecorder

Utility class to insert or update a row in WebAppUsage.

Inheritance
object
WebAppUsageRecorder
Implements
IWebAppUsageRecorder
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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

Implements

IWebAppUsageRecorder

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top