Commit 644c078
authored
LumenWorks Compatibility Features (#41)
* Add LumenWorks compatibility methods and flags to CsvDataReader
Introduces GetCurrentRawData(), CopyCurrentRecordTo(), EndOfStream, MissingFieldFlag, ParseErrorFlag, and GetFieldIndex() to CsvDataReader for LumenWorks CsvReader compatibility. Updates internal logic to set/reset new flags appropriately and adds comprehensive tests for these features.
* Improve EndOfStream detection in CsvDataReader
Replaces the EndOfStream property logic to rely on a new _readReturnedFalse flag, which is set when Read() returns false, ensuring more accurate end-of-stream detection. Also simplifies header name generation by using string.IsNullOrWhiteSpace.1 parent 90d22ea commit 644c078
File tree
3 files changed
+612
-9
lines changed- project
- Dataplat.Dbatools.Csv
- dbatools.Tests/Csv
- dbatools/Csv/Reader
3 files changed
+612
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
0 commit comments