c# - Mapping XML to Unrelated Objects -


i'm designing process xml files our client , load them our database, creating order on our side.

the snag is, , isn't there one?, client's xml doesn't resemble business objects use load data our database.

so have design way format specify our custom objects.

i'm considering creating "on fly" custom objects xml , coming "map" translate objects ours. that's head @ right now.

essentially don't want write data-load process supports data, want data our format.

i know design question i'm throwing out idea see if rings true else. or if has done , has suggestion, i'm open hearing it. thanks!

from tag, c# , xml, generate event upon file reception (os level) triggers small app have make. structure wise, go companyname.object1.

read on xdocument parsing , not. xelement , attributes.

bottom line, looks crm kind of implementation , implementation experience, it's longuest process: parsing of incoming data. you'll have thorough clients , have them write specific..

<nodes name="specificname"> 

nodes = localname

name = attribute("name")

good luck.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -