Class TempDbLockRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the temp_db_lock table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class TempDbLockRecordData
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
TempDbLockRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the temp_db_lock table.
Declaration
public TempDbLockRecordData()
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
Key
The key/id of the locked resource
Declaration
public int Key
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo 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 (or domain) of the locked resource
Declaration
public short TableNumber
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TempDbLockId
Primary key
Declaration
public int TempDbLockId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TimeoutAt
When this lock times out. Refreshing this while working is a good idea. in UTC.
Declaration
public DateTime TimeoutAt
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full TempDbLockRow 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 TempDbLockTableInfo 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 TempDbLockRow 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 TempDbLockTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.