I don't know too much about this subject yet, so I'm open to any suggestions that lead to my end goal...
- I receive an XML string from a web service
- I would like to load the string into a C# class capable of being used for LINQ
- I would like to be able to extract an array of all "someentity" instances in the XML using LINQ with that class.
Here's some sample XML I made up with the someentity example:
<replydata>
<someentity>
<role id="1234" roletype="2" />
<history length="24" accessstr="http://someurl" />
</someentity>
<someentity>
<role id="1235" roletype="2" />
<history length="30" accessstr="http://someurl2" />
</someentity>
... keep repeating for a while
</replydata>
Is this possible, and if so, can someone provide a simple example or direct me to the right place to find one?