Class LockingRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the locking table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class LockingRecordData : Object
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
LockingRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the locking table.
Declaration
public LockingRecordData()
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
ErrorMessage
Last error message
Declaration
public string ErrorMessage
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ExecutionTime
Amount of time in seconds used by last execution
Declaration
public int ExecutionTime
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LastError
Time of last error
Declaration
public DateTime LastError
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LastExecution
Last execution
Declaration
public DateTime LastExecution
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LockExpire
Lock preventing the same schedule to run simultaniously
Declaration
public DateTime LockExpire
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LockingId
Primary key
Declaration
public int LockingId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LockPid
PID preventing the same schedule to run simultaniously
Declaration
public int LockPid
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LockTtl
Lock time to live
Declaration
public int LockTtl
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Retries
Number of retries since last successfull execution
Declaration
public int Retries
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Status
Current status
Declaration
public short Status
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Stop
Signal to stop schedule
Declaration
public short Stop
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full LockingRow 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 LockingTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.