To control how EDI transactions are being validated, pass in a ValidationSettings object to the IsValid method of EdiMessage.
You can select any of the following settings:
- SkipTrailerValidation - whether to skip trailer validation in messages ('false' by default). This is useful when you are generating a POCO and haven't created any trailer segments, such as SE or UNZ, because they will be automatically appended by the EdiWriter. This flag tells the validator to skip over any validation that includes trailer segments.
- DecimalPoint - The decimal point for Edifact only ('.' by default).
- SyntaxSet - The syntax set used to validate alphanumeric data types (not set by default). Read about EDIFACT data element validation and X12 data element validation for additional information.