DbfDataReader
DbfDataReader copied to clipboard
Empty Date give Exception
Describe the bug Error happened on dbf table init, in constructor, where exists date field and it do not contains date(empty). Before adding date column(which may be empty) in dbf file, it worked fine.
To Reproduce Steps to reproduce the behavior:
- Create dbf which contains field date type and set empty value to this
- Initialize DbfTable using (var dbfTable = new DbfTable(dbfPath, Encoding.UTF8))// it must fall
Expected behavior Change mapping to DateTime?(or type which using in this operation with ? - nullable) - if possible or set it to default date value