DbfDataReader icon indicating copy to clipboard operation
DbfDataReader copied to clipboard

Start the reading dbf row records from the last to the first

Open AbrahamMorales opened this issue 2 years ago • 0 comments

It's possible to start the reading records in order from the last row to the first row inserted?

That feature could be added in the options, something like this:

var options = new DbfDataReaderOptions { SkipDeletedRecords = true, StartReadingFromLastRow = true };

For example, if file.dbf has 1000 rows inserted and iterate over the rows from 1, 2, 3, 4, 5 until 1000 with the parameter StartReadingFromLastRow = true should be iterate from row 1000, 999, 998, 997, 996 ....... until the row 1.

I'm not sure if DbfDataReader already has an implementation to do this.

Thank you.

AbrahamMorales avatar Sep 09 '21 23:09 AbrahamMorales