Show / Hide Table of Contents

Class LockingRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the locking table.

Inheritance
object
LockingRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class 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.

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
int
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.

LockPid

PID preventing the same schedule to run simultaniously

Declaration
public int LockPid
Field Value
Type Description
int
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
int
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
int
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
int
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
short
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
short
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.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
LockingRecordDataExtensions.ToInsertAsync(LockingRecordData, CancellationToken)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top