Skip to main content

SchemaMismatchException

  • Namespace: PPDS.Migration.Import
  • Assembly: PPDS.Migration
  • Kind: Class
  • Base: Exception
  • Implements: ISerializable

Summary

Exception thrown when exported data contains columns that don't exist in the target environment.

Members

Constructors

SchemaMismatchException(string message, Dictionary<string, List<string>> missingColumns)

SchemaMismatchException(string message, Dictionary<string, List<string>> missingColumns)

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

  • Param message: The error message.

  • Param missingColumns: Dictionary of entity name to list of missing column names.

SchemaMismatchException(string message, Dictionary<string, List<string>> missingColumns, Exception innerException)

SchemaMismatchException(string message, Dictionary<string, List<string>> missingColumns, Exception innerException)

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

  • Param message: The error message.

  • Param missingColumns: Dictionary of entity name to list of missing column names.

  • Param innerException: The inner exception.

Properties

MissingColumns

IReadOnlyDictionary<string, List<string>> MissingColumns { get; }

Gets the missing columns by entity name.

TotalMissingCount

int TotalMissingCount { get; }

Gets the total count of missing columns across all entities.