Demonstrates how to make a persistence ignorant application architecture in your application. This allows you to encapsulate and abstract away your ORM, for a more flexible and maintainable application.
Blog with attached demo source code:
http://www.danderson.me/practices/per...