Show / Hide Table of Contents

Class BulkUpdateSystem.BackgroundJob

Inheritance
object
BulkUpdateSystem.BackgroundJob
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.BulkUpdate
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class BulkUpdateSystem.BackgroundJob

Constructors

BackgroundJob(string, FieldValueInfo[], int[])

Declaration
public BackgroundJob(string i_TableName, FieldValueInfo[] i_FieldValueInfos, int[] i_EntityIds)
Parameters
Type Name Description
string i_TableName
FieldValueInfo[] i_FieldValueInfos
int[] i_EntityIds

Fields

CompletedReason

Reason for completion can be OK (CompletedReason is RC.SR_BULKUPDATE_JOBDONE_OK, error (CompletedReason starts with RC.SR_BULKUPDATE_JOBDONE_ERROR, and continues with exception message) or cancellation (CompletedReason is RC.SR_BULKUPDATE_JOBDONE_CANCELED).

Declaration
public string CompletedReason
Field Value
Type Description
string

Done

We are done, if we have tried to do something, even if it was not successful. If we recieved the wrong arguments, so we could not do anything, we are not done.

Declaration
public bool Done
Field Value
Type Description
bool
Remarks

See CompletedReason to see why we are Done

EntityIds

Declaration
public readonly int[] EntityIds
Field Value
Type Description
int[]

FieldValueInfos

Declaration
public readonly FieldValueInfo[] FieldValueInfos
Field Value
Type Description
FieldValueInfo[]

LastLogId

Declaration
public int LastLogId
Field Value
Type Description
int

LogFailedReason

Declaration
public string LogFailedReason
Field Value
Type Description
string

LogResultOfJob

Declaration
public readonly bool LogResultOfJob
Field Value
Type Description
bool

RowResultItems

Declaration
protected List<RowResultItem> RowResultItems
Field Value
Type Description
List<RowResultItem>

TableName

Declaration
public readonly string TableName
Field Value
Type Description
string

Methods

UpdateFieldsAsync(ReportProgressAsync, CancellationToken)

Declaration
public Task<bool> UpdateFieldsAsync(ReportProgressAsync reportProgress = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ReportProgressAsync reportProgress
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

Extension Methods

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