Skip to main content

IExporter

  • Namespace: PPDS.Migration.Export
  • Assembly: PPDS.Migration
  • Kind: Interface

Summary

Interface for exporting data from Dataverse.

Members

Methods

ExportAsync

Task<ExportResult> ExportAsync(MigrationSchema schema, string outputPath, ExportOptions options, IProgressReporter progress, CancellationToken cancellationToken)

Exports data using a pre-parsed schema.

  • Param schema: The migration schema.

  • Param outputPath: Output ZIP file path.

  • Param options: Export options.

  • Param progress: Optional progress reporter.

  • Param cancellationToken: Cancellation token.

  • Returns: The export result.

ExportAsync

Task<ExportResult> ExportAsync(string schemaPath, string outputPath, ExportOptions options, IProgressReporter progress, CancellationToken cancellationToken)

Exports data based on a schema file.

  • Param schemaPath: Path to the schema.xml file.

  • Param outputPath: Output ZIP file path.

  • Param options: Export options.

  • Param progress: Optional progress reporter.

  • Param cancellationToken: Cancellation token.

  • Returns: The export result.