Show / Hide Table of Contents

Class EdiBoMapper

This class performs the mapping of EDIFACT values to the corresponding BO4E values.

Inheritance
System.Object
EdiBoMapper
Namespace: BO4E
Assembly: BO4Enet.dll
Syntax
public class EdiBoMapper : object

Fields

| Improve this Doc View Source

_logger

project wide logger

Declaration
public static ILogger _logger
Field Value
Type Description
ILogger

Methods

| Improve this Doc View Source

fromEdi(String, String)

transform an EDIFACT value of known type to a BO4E value

Declaration
public static string fromEdi(string objectName, string objectValue)
Parameters
Type Name Description
System.String objectName

name of the BO4E datatypeNetzebene

System.String objectValue

EDIFACT valueE06

Returns
Type Description
System.String
  • null
    if the objectValue is null or no mapping is specified for the given type/value combination
  • the corresponding BO4E value
  • objectValue iff no mapping was defined but objectValue is already a valid BO4E value (e.g. for "Landescode"s)
Examples
string bo4eValue = EdiBoMapper.fromEdi("Netzebene", "E06"); // returns "NSP"

Extension Methods

BusinessObjectExtensions.DeepClone<T>(T)
COMExtensions.DeepClone<T>(T)

See Also

BoEdiMapper
  • Improve this Doc
  • View Source
Back to top Generated by DocFX