Click or drag to resize

EdiMessage Class

The base EDI message. All EDI transactions inherit for it.
Inheritance Hierarchy
SystemObject
  EdiFabric.Core.Model.EdiEdiMessage
    More...

Namespace:  EdiFabric.Core.Model.Edi
Assembly:  EdiFabric (in EdiFabric.dll) Version: 10.1.0.0 (10.1.0.0)
Syntax
[SerializableAttribute]
public abstract 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 propertyModel
The qualified name of the EDI template.
Public propertyName
The EDI message ID.
Public propertyPartsCount
The number of parts when splitting.
Public propertySplitPostion
The index of the segment when split.
Public propertyTemplate
The qualified name of the EDI template.
Public propertyVersion
The EDI message version (derived from the group if not explicitly set in the message).
Top
Methods
  NameDescription
Public methodClearCache
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.
Public methodCopy
Creates a deep copy of the current instance.
Public methodFlattenRawSegments
Converts an EdiMessage to a list of segments as strings
Public methodFlattenSegments
Flattens the EDI segments into a list.
Public methodIsValid
Validates a message according to its EDI DOM validation attributes and its structure.
Public methodIsValidAsync
Validates a message async according to its EDI DOM validation attributes and its structure.
Public methodToEdi(EdifactWriterSettings)
Converts an EdiMessage to EDI string
Public methodToEdi(NcpdpScriptWriterSettings)
Converts an EdiMessage to EDI string
Public methodToEdi(X12WriterSettings)
Converts an EdiMessage to EDI string
Top
See Also
Inheritance Hierarchy