QuickStart
- Read Delimited File
How to read a Delimited File - Write Delimited File
Example of how to write a Delimited File - Read Fixed File
Example of how to read a Fixed Length layout file (eg COBOL output): - Write Fixed File
Example of how to write a Fixed Record File - Read or Write Record by Record
Using the FileHelperAsynEngine to work record by record - Autoproperties
You can use autoproperties instead of fields
Attributes
- FieldTrim
How to use the [FieldTrim] attribute (useful for fixed length records) - FieldOrder
Force field order with [FieldOrder] attribute - FixedLengthRecord FixedMode.AllowLessChars
Options when working with fixed files and not all records have same length
Events And Notification
- INotifyRead Interface
Get Before/After Read events with the INotifyRead interface - INotifyWrite Interface
Get Before/After Write events with the INotifyWrite interface - Before/After Read Event Handling
Show how to implement read events - Before/After Write Event Handling
Show how to implement write events
Advanced
- Dynamic Engine Options
Change the options of the engines at run time - Multiple Delimiters
Write a file with different delimiters using the same record - Multi Record Processing
Read or write a file with many different layouts - Smart Format Detector
Detect the format from a flat file
MasterDetail
- Master Detail Custom Selector
Show how to implement Master detail reading using a selection subroutine - Master Detail Common Selector
Show how to implement Master detail reading where record contains characters
Missing Values
- Handle Missing Values with Nullable
Using Nullablefor missing values - Handle Missing Values With FieldNullValue
How to read a file with some missing values and use the FieldNullValue attribute
Converters
- Enum Converter
When you have a string field in your files that can be better handled if you map it to an enum. - Custom Converter
Explains how to extend the library with a new converter
ErrorHandling
- ErrorMode.ThrowException
Default Behavior. Read the file or reject the whole file - ErrorMode.IgnoreAndContinue
Read the file dropping bad records - ErrorMode SaveAndContinue
Read the file saving bad records
Sorting
- Sort Big File with Record Class
Shows how to sort a big file using a record class - Sort Big File without Record Class 1
Shows how to sort a big file without a record class - Sort Big File without Record Class 2
Shows how to sort a big file without a record class