Skip to main content

FileColumnProcessor

  • Namespace: PPDS.Migration.Import
  • Assembly: PPDS.Migration
  • Kind: Class
  • Implements: IImportPhaseProcessor

Summary

Processes file column data after record import. Uploads binary file data to Dataverse via chunked transfer (4MB blocks). This runs as Phase 4.5, after M2M relationships and before state transitions are finalized.

Members

Constructors

FileColumnProcessor(FileColumnTransferHelper transferHelper)

FileColumnProcessor(FileColumnTransferHelper transferHelper)

Initializes a new instance of the PPDS.Migration.Import.FileColumnProcessor class.

  • Param transferHelper: The file column transfer helper for chunked uploads.

FileColumnProcessor(FileColumnTransferHelper transferHelper, ILogger<FileColumnProcessor> logger)

FileColumnProcessor(FileColumnTransferHelper transferHelper, ILogger<FileColumnProcessor> logger)

Initializes a new instance of the PPDS.Migration.Import.FileColumnProcessor class.

  • Param transferHelper: The file column transfer helper for chunked uploads.

  • Param logger: The logger.

Methods

ProcessAsync

Task<PhaseResult> ProcessAsync(ImportContext context, CancellationToken cancellationToken)

Executes this phase of the import.

  • Param context: The shared import context containing data, options, and state.

  • Param cancellationToken: Cancellation token.

  • Returns: The result of this phase.

Properties

PhaseName

string PhaseName { get; }

Gets the name of this phase for logging and progress reporting.