Class HistoryRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the History table.
Inherited Members
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()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the History table.
Declaration
public 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.
Fields
AssociateId
Owner of history list
Declaration
public int AssociateId
Field Value
Type | Description |
---|---|
int |
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.
ExtraId
Extra ID, used to manage multiple histories per table
Declaration
public int ExtraId
Field Value
Type | Description |
---|---|
int |
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.
HistoryId
Primary key
Declaration
public int HistoryId
Field Value
Type | Description |
---|---|
int |
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.
Rank
Sort order, indexed so it can used for sorting in the query
Declaration
public short Rank
Field Value
Type | Description |
---|---|
short |
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.
RecordId
Record within the table
Declaration
public int RecordId
Field Value
Type | Description |
---|---|
int |
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.
TableId
Table this is a history of
Declaration
public short TableId
Field Value
Type | Description |
---|---|
short |
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.
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
short |
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.