Show / Hide Table of Contents

Class BatchTaskDefinitionRecordData

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

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

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

Constructors

BatchTaskDefinitionRecordData()

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

Declaration
public BatchTaskDefinitionRecordData()
Remarks

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

Fields

AssemblyVersion

Version of the assembly that contains the code this batch task definition was populated from

Declaration
public string AssemblyVersion
Field Value
Type Description
string
Remarks

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

AutoRestartCount

Number of times the whole batch task should be restarted; -1 means infinite, which is useful for things like Travel Gateway that should 'always' be available

Declaration
public int AutoRestartCount
Field Value
Type Description
int
Remarks

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

BatchTaskDefinitionId

Primary key

Declaration
public int BatchTaskDefinitionId
Field Value
Type Description
int
Remarks

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

Description

Description of task (for monitoring and debugging)

Declaration
public string Description
Field Value
Type Description
string
Remarks

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

IsMultiPass

Is this a multipass job (inner implementationis run repeatedly by the batch task framework)

Declaration
public short IsMultiPass
Field Value
Type Description
short
Remarks

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

MinimumSleepTime

Minimum sleep interval between the end of one run and start of the next one

Declaration
public int MinimumSleepTime
Field Value
Type Description
int
Remarks

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

Name

Name of task (for monitoring and debugging)

Declaration
public string Name
Field Value
Type Description
string
Remarks

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

StartInterval

Minimum interval between successive starts; starts never overlap

Declaration
public int StartInterval
Field Value
Type Description
int
Remarks

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

Timeout

Maximum allowed execution time; jobs are killed if they exceed their timeout; 0=no timeout

Declaration
public int Timeout
Field Value
Type Description
int
Remarks

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

Updated

'heartbeat' that is updated once a minute by the batch task process in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

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

UpdatedAssociateId

'heartbeat' that is updated once a minute by the batch task process

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

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

UpdatedCount

heartbeat' that is updated once a minute by the batch task process

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

Please use this class instead of a full BatchTaskDefinitionRow 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 BatchTaskDefinitionTableInfo 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)
BatchTaskDefinitionRecordDataExtensions.ToInsertAsync(BatchTaskDefinitionRecordData, 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