Edi |
The EdiMessage type exposes the following members.
| Name | Description | |
|---|---|---|
| EdiMessage | Initializes a new instance of the EdiMessage class. |
| Name | Description | |
|---|---|---|
| ErrorContext | EDI Message error context. | |
| Format | The EDI message format (X12 or Edifact or other). | |
| HasErrors | If it was parsed in full. | |
| IsPart | Detects if the EDI message was split. | |
| Model | The qualified name of the EDI template. | |
| Name | The EDI message ID. | |
| PartsCount | The number of parts when splitting. | |
| SplitPostion | The index of the segment when split. | |
| Template | The qualified name of the EDI template. | |
| Version | The EDI message version (derived from the group if not explicitly set in the message). |
| Name | Description | |
|---|---|---|
| ClearCache | Clears the internal cache used to speed up validation. Use after the message was validated and before making a deep copy or saving to a database. | |
| Copy | Creates a deep copy of the current instance. | |
| FlattenRawSegments | Converts an EdiMessage to a list of segments as strings | |
| FlattenSegments | Flattens the EDI segments into a list. | |
| IsValid | Validates a message according to its EDI DOM validation attributes and its structure. | |
| IsValidAsync(ValidationSettings) | Validates a message async according to its EDI DOM validation attributes and its structure. | |
| IsValidAsync(CancellationToken, ValidationSettings) | Validates a message async according to its EDI DOM validation attributes and its structure. | |
| ToEdi(EdifactWriterSettings) | Obsolete. Converts an EdiMessage to EDI string | |
| ToEdi(NcpdpScriptWriterSettings) | Obsolete. Converts an EdiMessage to EDI string | |
| ToEdi(X12WriterSettings) | Obsolete. Converts an EdiMessage to EDI string |