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: 1.0.0.0 (9.7.8.0)
Syntax
public static string ToEdi(
	this EdiMessage ediMessage,
	X12WriterSettings settings
)

Parameters

ediMessage
Type: EdiFabric.Core.Model.EdiEdiMessage
The EdiMessage to convert
settings
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