Show / Hide Table of Contents

Class ScheduleRecordData

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

Inheritance
object
ScheduleRecordData
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 ScheduleRecordData
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

ScheduleRecordData()

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

Declaration
public ScheduleRecordData()
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

AfterScheduleId

Run after another schedule have completed

Declaration
public int AfterScheduleId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Asap

Run schedule ASAP

Declaration
public short Asap
Field Value
Type Description
short
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

DayOfMonth

What day of month to run

Declaration
public int DayOfMonth
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Disabled

Disable the schedule

Declaration
public short Disabled
Field Value
Type Description
short
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Domain

Type of scheduled task

Declaration
public short Domain
Field Value
Type Description
short
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ErrorMessage

Last error message

Declaration
public string ErrorMessage
Field Value
Type Description
string
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo 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 ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Frequency

Type of schedule algorithm to use

Declaration
public short Frequency
Field Value
Type Description
short
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo 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 ScheduleRow 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 ScheduleTableInfo 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 ScheduleRow 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 ScheduleTableInfo 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 ScheduleRow 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 ScheduleTableInfo 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 ScheduleRow 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 ScheduleTableInfo 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 ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

MinOfHour

Run at a given minute in an hour

Declaration
public int MinOfHour
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

MinuteInterval

Interval in minutes, used by Minutely

Declaration
public int MinuteInterval
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Months

Bitfield: which months of the year to run

Declaration
public int Months
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Name

Name of the schedule

Declaration
public string Name
Field Value
Type Description
string
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

NextExecution

Next execution

Declaration
public DateTime NextExecution
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

OnceAt

Execute once at

Declaration
public DateTime OnceAt
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo 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 ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RetryInterval

Number of minutes between each retry

Declaration
public int RetryInterval
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ScheduleId

Primary key

Declaration
public int ScheduleId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Status

Schedules current status

Declaration
public short Status
Field Value
Type Description
short
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo 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 ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

TimeOfDay

Time of day to execute if not specified.

Declaration
public DateTime TimeOfDay
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Weekdays

Bitfield: which days of the week to run

Declaration
public int Weekdays
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScheduleRow 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 ScheduleTableInfo 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)
ScheduleRecordDataExtensions.ToInsertAsync(ScheduleRecordData, 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