Class SequenceRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the sequence table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class SequenceRecordData : Object
Remarks
Please use this class instead of a full SequenceRow 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 SequenceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
SequenceRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the sequence table.
Declaration
public SequenceRecordData()
Remarks
Please use this class instead of a full SequenceRow 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 SequenceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
Id
Sequence-id of host table
Declaration
public int Id
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full SequenceRow 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 SequenceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
NextId
Next id to be used for table
Declaration
public int NextId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full SequenceRow 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 SequenceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TableName
The name of the table this row concerns
Declaration
public string TableName
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full SequenceRow 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 SequenceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TableNumber
The table number for this table, constant over the table's lifetime (but possibly different from one database to another
Declaration
public int TableNumber
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full SequenceRow 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 SequenceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.