Class HistoryRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the History table.
Inheritance
System.Object
HistoryRecordData
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
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 |
---|---|
System.Int32 |
ExtraId
Extra ID, used to manage multiple histories per table
Declaration
public int ExtraId
Field Value
Type | Description |
---|---|
System.Int32 |
HistoryId
Primary key
Declaration
public int HistoryId
Field Value
Type | Description |
---|---|
System.Int32 |
Rank
Sort order, indexed so it can used for sorting in the query
Declaration
public short Rank
Field Value
Type | Description |
---|---|
System.Int16 |
RecordId
Record within the table
Declaration
public int RecordId
Field Value
Type | Description |
---|---|
System.Int32 |
TableId
Table this is a history of
Declaration
public short TableId
Field Value
Type | Description |
---|---|
System.Int16 |
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
System.Int16 |
Extension Methods
EnumUtil.MapEnums<From, To>(From)