SchemaMismatchResult
- Namespace:
PPDS.Migration.Import - Assembly:
PPDS.Migration - Kind: Class
Summary
Result of schema mismatch detection between exported data and target environment.
Members
Constructors
SchemaMismatchResult(IReadOnlyDictionary<string, List<string>> missingColumns)
SchemaMismatchResult(IReadOnlyDictionary<string, List<string>> missingColumns)
Initializes a new instance of the PPDS.Migration.Import.SchemaMismatchResult class.
- Param
missingColumns: Dictionary of entity name to list of missing column names.
Methods
BuildDetailedMessage
string BuildDetailedMessage()
Builds a detailed error message describing the missing columns.
- Returns: A formatted error message.
Properties
HasMissingColumns
bool HasMissingColumns { get; }
Gets whether there are any missing columns.
MissingColumns
IReadOnlyDictionary<string, List<string>> MissingColumns { get; }
Gets the missing columns by entity name.
TotalMissingCount
int TotalMissingCount { get; }
Gets the total number of missing columns across all entities.