Generating XML files from SQL Server tables in C# using an XSD -


i'm trying generate xml file dataset across several sql server tables. have xsd definition desired dataset , wondering if it's possible use c#'s data objects point tables, note relationships, extract data , populate xml file going via xsd validate. i'm fine setting tables represent hierarchies in final xml file if helps.

many help.

you might try following:

1) create c# class files xsd using xsd.exe tool.

2) use orm map database objects c# classes.

3) use xmlserializer class convert c# objects xml document match xsd.

see: http://msdn.microsoft.com/en-us/library/943242d1(v=vs.110).aspx


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -