Class InvalidImportMappingsException
- Namespace
- YndigoBlue.Velocity.Exceptions
- Assembly
- YndigoBlue.Velocity.dll
Thrown when import column mappings are invalid or incompatible with the target table schema.
[Serializable]
public class InvalidImportMappingsException : Exception, ISerializable
- Inheritance
-
InvalidImportMappingsException
- Implements
Remarks
This exception occurs during data import operations when the mapping configuration between data file columns and database table columns is incorrect. Common scenarios include mapping to non-existent columns, type incompatibilities between source and destination columns, missing required column mappings, or header mismatches in CSV import operations.
Constructors
- InvalidImportMappingsException()
Initializes a new instance of the InvalidImportMappingsException class.
- InvalidImportMappingsException(string)
Initializes a new instance of the InvalidImportMappingsException class with a specified error message.
Properties
- ColumnName
Gets or sets the name of the table column involved in the invalid mapping.
- DataFilePath
Gets or sets the file path of the data file being imported.
- Header
Gets or sets the header name from the data file that could not be mapped.
- TableName
Gets or sets the name of the target table for the import operation.