The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Darn I was really hoping that I could leverage the same LINQ queries against both SQL and XML smilie
Having read this book and done some fruitless google searches, one thing I don't really see covered is how to easily switch between a SQL data source and an XML Data Source, such as if I were doing a small 'briefcase' or prototype application, vs going live against a Database server.

What's the minimum I would have to change? And what can I do to make a single code base support multiple/switchable mappings?

Randy