PhaseResult
- Namespace:
PPDS.Migration.Import - Assembly:
PPDS.Migration - Kind: Class
Summary
Result from a single import phase.
Members
Methods
Skipped
PhaseResult Skipped()
Creates a successful result with no records processed (phase skipped).
Succeeded
PhaseResult Succeeded(int processed, TimeSpan duration)
Creates a successful result with the specified counts.
-
Param
processed: Number of records processed. -
Param
duration: Duration of the phase.
Properties
Duration
TimeSpan Duration { get; set; }
Gets or sets the duration of this phase.
Errors
IReadOnlyList<MigrationError> Errors { get; set; }
Gets or sets the errors encountered during this phase.
FailureCount
int FailureCount { get; set; }
Gets or sets the number of failed records.
RecordsProcessed
int RecordsProcessed { get; set; }
Gets or sets the total number of records processed in this phase.
Success
bool Success { get; set; }
Gets or sets whether the phase completed successfully (no errors).
SuccessCount
int SuccessCount { get; set; }
Gets or sets the number of successfully processed records.