Click or drag to resize

ModelExtensionsToEdi Method (EdiMessage, X12WriterSettings)

Converts an EdiMessage to EDI string

Namespace:  EdiFabric.Framework
Assembly:  EdiFabric.Framework (in EdiFabric.Framework.dll) Version: (
public static string ToEdi(
	this EdiMessage ediMessage,
	X12WriterSettings settings


Type: EdiFabric.Core.Model.EdiEdiMessage
The EdiMessage to convert
Type: EdiFabric.Framework.WritersX12WriterSettings
The X12 Writer settings

Return Value

Type: String
EDI string

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EdiMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also