Class BulkUpdateSystem.BackgroundJob
Inheritance
BulkUpdateSystem.BackgroundJob
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
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
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
Field Value
EntityIds
Declaration
public readonly int[] EntityIds
Field Value
FieldValueInfos
Declaration
public readonly FieldValueInfo[] FieldValueInfos
Field Value
LastLogId
Declaration
Field Value
LogFailedReason
Declaration
public string LogFailedReason
Field Value
LogResultOfJob
Declaration
public readonly bool LogResultOfJob
Field Value
RowResultItems
Declaration
protected List<RowResultItem> RowResultItems
Field Value
TableName
Declaration
public readonly string TableName
Field Value
Methods
UpdateFieldsAsync(ReportProgressAsync, CancellationToken)
Declaration
public Task<bool> UpdateFieldsAsync(ReportProgressAsync reportProgress = null, CancellationToken cancellationToken = default)
Parameters
Returns
Extension Methods