Does anyone know any tool that can map EDI x12 to C# objects? I just looked at Altova MapForce but it does not seem to support this. I can't use database schema mapping for portability reasons ... and I'd rather avoid xml or flat file if I can.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Actually, MapForce does support this using an add-in package they have available (not sure if it's free or not). I evaluated MapForce about a year ago for this very purpose (mapping EDI x12 835i and 835p files to a database).
Here's the link for the EDI-Mapping page for MapForce that specifically mentions ANSI x12 mapping: http://www.altova.com/products/mapforce/edi-mapping.html
MapForce actually generates C# or Java code for a complete application that will do the mapping you set up; you can use the classes from that application in your own code instead.
回答2:
You can also use Symphonia: http://www.orionhealth.com/products/symphonia/
-Dave