Class BulkLoadOptions
Options for opening a BulkLoadSession via DatabaseEngine.BeginBulkLoad. All settings are optional — the default-constructed instance
is valid.
public sealed class BulkLoadOptions
- Inheritance
-
BulkLoadOptions
- Inherited Members
Remarks
See claude/design/Durability/BulkLoad/01-api.md for the full API reference and lifecycle.
Constructors
BulkLoadOptions()
public BulkLoadOptions()
Properties
CheckpointTimeout
Maximum time CompleteBulkLoad() will wait for the synchronous checkpoint to complete. If exceeded, BulkLoadCheckpointTimeoutException is thrown and the session remains alive (caller may retry or dispose). Default: 5 minutes.
public TimeSpan CheckpointTimeout { get; init; }
Property Value
ProgressBatchSize
Number of entities between progress callbacks. Smaller values increase callback overhead; larger values reduce UI responsiveness. Default:
10_000.
public int ProgressBatchSize { get; init; }
Property Value
ProgressReporter
Optional reporter invoked after every ProgressBatchSize entities. Useful for UI progress bars and the Workbench's stall detector. Default: null (no callbacks).
public Action<BulkLoadProgress> ProgressReporter { get; init; }