Show / Hide Table of Contents

Class BulkUpdateSystem.BackgroundJob

Inheritance
Object
SoBackgroundWorker
BulkUpdateSystem.BackgroundJob
Inherited Members
SoBackgroundWorker.CancelAsync()
SoBackgroundWorker.ReportProgress(Int32)
SoBackgroundWorker.ReportProgress(Int32, Object)
SoBackgroundWorker.RunWorker(Boolean)
SoBackgroundWorker.RunWorkerAsync()
SoBackgroundWorker.RunWorkerAsync(Object)
SoBackgroundWorker.OnDoWork(DoWorkEventArgs)
SoBackgroundWorker.OnProgressChanged(ProgressChangedEventArgs)
SoBackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs)
SoBackgroundWorker.Dispose(Boolean)
SoBackgroundWorker.CancellationPending
SoBackgroundWorker.IsBusy
SoBackgroundWorker.WorkerReportsProgress
SoBackgroundWorker.WorkerSupportsCancellation
SoBackgroundWorker.DoWork
SoBackgroundWorker.ProgressChanged
SoBackgroundWorker.RunWorkerCompleted
Namespace: SuperOffice.CRM.BulkUpdate
Assembly: SoDataBase.dll
Syntax
public class BackgroundJob : SoBackgroundWorker

Constructors

BackgroundJob(String, FieldValueInfo[], Int32[])

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

Fields

CompletedReason

Declaration
public string CompletedReason
Field Value
Type Description
String

Done

Declaration
public bool Done
Field Value
Type Description
Boolean

EntityIds

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

FieldValueInfos

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

LastLogId

Declaration
public int LastLogId
Field Value
Type Description
Int32

LogFailedReason

Declaration
public string LogFailedReason
Field Value
Type Description
String

LogResultOfJob

Declaration
public readonly bool LogResultOfJob
Field Value
Type Description
Boolean

RowResultItems

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

TableName

Declaration
public readonly string TableName
Field Value
Type Description
String

Methods

OnJobTerminated(String)

Declaration
protected virtual void OnJobTerminated(string reasonWhy)
Parameters
Type Name Description
String reasonWhy

OnProgressChanged(RowResultItem)

Declaration
protected virtual void OnProgressChanged(RowResultItem resultItem)
Parameters
Type Name Description
RowResultItem resultItem

Terminate()

Declaration
public void Terminate()

UpdateFieldsAsync()

Declaration
public bool UpdateFieldsAsync()
Returns
Type Description
Boolean

UpdateFieldsSync()

Declaration
public bool UpdateFieldsSync()
Returns
Type Description
Boolean

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