Show / Hide Table of Contents

Class HistoryRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the History table.

Inheritance
object
HistoryRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOfficeCRMRows
Assembly: SoDataBase.dll
Syntax
public class HistoryRecordData
Remarks

Please use this class instead of a full HistoryRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding HistoryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

HistoryRecordData()

Declaration
public HistoryRecordData()

Fields

AssociateId

Owner of history list

Declaration
public int AssociateId
Field Value
Type Description
int

ExtraId

Extra ID, used to manage multiple histories per table

Declaration
public int ExtraId
Field Value
Type Description
int

HistoryId

Primary key

Declaration
public int HistoryId
Field Value
Type Description
int

Rank

Sort order, indexed so it can used for sorting in the query

Declaration
public short Rank
Field Value
Type Description
short

RecordId

Record within the table

Declaration
public int RecordId
Field Value
Type Description
int

TableId

Table this is a history of

Declaration
public short TableId
Field Value
Type Description
short

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short

Extension Methods

EnumUtil.MapEnums<From, To>(From)
HistoryRecordDataExtensions.ToInsertAsync(HistoryRecordData, CancellationToken)
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