Class AutosaveRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the autosave table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class AutosaveRecordData : Object
Remarks
Please use this class instead of a full AutosaveRow 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 AutosaveTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
AutosaveRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the autosave table.
Declaration
public AutosaveRecordData()
Remarks
Please use this class instead of a full AutosaveRow 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 AutosaveTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
AutosaveId
The primary key (auto-incremented)
Declaration
public int AutosaveId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full AutosaveRow 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 AutosaveTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ContentType
The enum used as identificator
Declaration
public int ContentType
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full AutosaveRow 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 AutosaveTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
CreatedAt
When the autosave was saved.
Declaration
public DateTime CreatedAt
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full AutosaveRow 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 AutosaveTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Data
The rawtext of the autosave.
Declaration
public string Data
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full AutosaveRow 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 AutosaveTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
IndexId
Index id of element that's autosaved
Declaration
public int IndexId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full AutosaveRow 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 AutosaveTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.