Click or drag to resize

EdiMessage Class

The base EDI message. All EDI transactions inherit for it.
Inheritance Hierarchy

Namespace:  EdiFabric.Core.Model.Edi
Assembly:  EdiFabric.Core (in EdiFabric.Core.dll) Version: 1.0.0.0 (9.7.8.0)
Syntax
[SerializableAttribute]
public class EdiMessage : IEdiItem

The EdiMessage type exposes the following members.

Constructors
  NameDescription
Public methodEdiMessage
Initializes a new instance of the EdiMessage class.
Top
Properties
  NameDescription
Public propertyErrorContext
EDI Message error context.
Public propertyFormat
The EDI message format (X12 or Edifact or other).
Public propertyHasErrors
If it was parsed in full.
Public propertyIsPart
Detects if the EDI message was split.
Public propertyName
The EDI message ID.
Public propertyPartsCount
The number of parts when splitting.
Public propertySplitPostion
The index of the segment when split.
Public propertySplitterProperty
The property to split by.
Public propertyVersion
The EDI message version (derived from the group if not explicitly set in the message).
Top
Methods
  NameDescription
Public methodFlattenSegments
Flattens the EDI segments into a list.
Public methodGetTransactionContext
Gets the EDI transaction id and EDI control numbers from the EDI header and EDI trailer.
Public methodIsValid
Validates a message according to its EDI DOM validation attributes.
Top
Extension Methods
  NameDescription
Public Extension MethodToEdi(EdifactWriterSettings)Overloaded.
Converts an EdiMessage to EDI string
(Defined by ModelExtensions.)
Public Extension MethodToEdi(X12WriterSettings)Overloaded.
Converts an EdiMessage to EDI string
(Defined by ModelExtensions.)
Public Extension MethodValidate(SyntaxSet, Char)Overloaded.
Validates an EDI item according to its EDI DOM validation attributes.
(Defined by ValidationExtensions.)
Public Extension MethodValidate(Int32, SyntaxSet, Char, Int32)Overloaded.
Validates an item according to its EDI DOM validation attributes. This is internally called to validate an EdiMessage.
(Defined by ValidationExtensions.)
Top
See Also