Tool that auto-generate a code for accesing a xml-file

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-05-04T12:44:01Z Indexed on 2010/05/04 12:48 UTC
Read the original article Hit count: 191

Filed under:
|
|

My application have a configuration xml-file. That file contains more than 50 program settings. At the present time I read and save each program setting separately. I guess It is not effi?iently for such tasks.

I need something that can auto-generate a code for load and save my program settings using predefined xml-schema.

I found a dataset in Add New Item dialog. Unfortunately, i cannot add new code to dataset1 such as events in set-accessors of properties because of this

//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.

Maybe, there is a tool that allows a user to generate a wrapper for accesing a xml-file ? Such as DataSet1, but with availability to add events.

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about c#