Class BulkUpdateBatchPlugin
BulkUpdateBatchPlugin will execute a batchupdate .
Implements
Inherited Members
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask]
public class BulkUpdateBatchPlugin : BatchTaskBase, IBatchTask
Remarks
This job is initiated from batchupdate dialog in web. It has saved the update statements in db, so this job will fetch this and execute the actual update
Constructors
BulkUpdateBatchPlugin(IBatchData, IBatchServiceConfiguration, ILogger<BulkUpdateBatchPlugin>)
BulkUpdateBatchPlugin will execute a batchupdate .
Declaration
public BulkUpdateBatchPlugin(IBatchData batchData, ConfigFile.IBatchServiceConfiguration batchServiceConfiguration, ILogger<BulkUpdateBatchPlugin> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| IBatchData | batchData | |
| ConfigFile.IBatchServiceConfiguration | batchServiceConfiguration | |
| ILogger<BulkUpdateBatchPlugin> | logger |
Remarks
This job is initiated from batchupdate dialog in web. It has saved the update statements in db, so this job will fetch this and execute the actual update
Fields
PluginName
BulkUpdateBatchPlugin will execute a batchupdate .
Declaration
public const string PluginName = "BulkUpdateBatchPlugin"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
This job is initiated from batchupdate dialog in web. It has saved the update statements in db, so this job will fetch this and execute the actual update
Methods
RunAsync(string, string, CancellationToken)
Create the report with the parameters supplied in ParameterObject.
Declaration
protected override Task<bool> RunAsync(string name, string context, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Task name - unused |
| string | context | Context name - unused |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<bool> | true if the report succeeded |
Overrides
Remarks
This job is initiated from batchupdate dialog in web. It has saved the update statements in db, so this job will fetch this and execute the actual update