That is not its purpose. EF is designed to sit on top of a relational
database and create and map entities, not work with non-relational data
sources. Yes, I realize XML can be made somewhat "relational", but it
generally fits a "hierarchical" model, where the relationships are chained
in the hierarchy.
You can consume XML with LINQ-to-SQL, although it does not map per se.
If for some reason, you really want to keep using Xml as a storage format,
you could likely use a serialized dataset and use Linq To DataSets.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.