Skip to main content

DeferredFieldProcessor

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

Summary

Processes deferred fields after the initial entity import. Deferred fields are self-referential lookups that couldn't be set during initial import because the target records didn't exist yet.

Members

Constructors

DeferredFieldProcessor(IDataverseConnectionPool connectionPool, BulkOperationProber prober, ILogger<DeferredFieldProcessor> logger)

DeferredFieldProcessor(IDataverseConnectionPool connectionPool, BulkOperationProber prober, ILogger<DeferredFieldProcessor> logger)

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

  • Param connectionPool: The connection pool.

  • Param prober: The bulk operation prober.

  • Param logger: Optional 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.