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()

Declaration
public LockingRecordData()

Fields

ErrorMessage

Last error message

Declaration
public string ErrorMessage
Field Value
Type Description
String

ExecutionTime

Amount of time in seconds used by last execution

Declaration
public int ExecutionTime
Field Value
Type Description
Int32

LastError

Time of last error

Declaration
public DateTime LastError
Field Value
Type Description
DateTime

LastExecution

Last execution

Declaration
public DateTime LastExecution
Field Value
Type Description
DateTime

LockExpire

Lock preventing the same schedule to run simultaniously

Declaration
public DateTime LockExpire
Field Value
Type Description
DateTime

LockingId

Primary key

Declaration
public int LockingId
Field Value
Type Description
Int32

LockPid

PID preventing the same schedule to run simultaniously

Declaration
public int LockPid
Field Value
Type Description
Int32

LockTtl

Lock time to live

Declaration
public int LockTtl
Field Value
Type Description
Int32

Retries

Number of retries since last successfull execution

Declaration
public int Retries
Field Value
Type Description
Int32

Status

Current status

Declaration
public short Status
Field Value
Type Description
Int16

Stop

Signal to stop schedule

Declaration
public short Stop
Field Value
Type Description
Int16

Extension Methods

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