donnytian / Npoi.Mapper

Use this tool to import or export data with Excel file. The tool is a convention based mapper between strong typed object and Excel data via NPOI.
MIT License
601 stars 115 forks source link

No error reported for nullable value type columns during import #8

Closed donnytian closed 7 years ago

donnytian commented 7 years ago

When import from file for nullable value types like DateTime? and int?, if the value from Excel file cannot be converted to the target type, no error reported, just set null to the object.

The expected result is to report errors or use setting to control whether or not report error for specific column/ property.