The April edition of MSDN Magazine includes my latest article for the “Patterns in Practice” column. This time around I tackled very basic Persistence Patterns. My goal in this article was merely to introduce and explain some of the core concepts that come up in object persistence. I don’t discuss old-fashioned procedural Data Access Layer techniques because I feel that those are very well understood (and obsolescent at best). In this pass, I covered:
Mapping Objects to Databases
Active Record
Data Mapper
Using a Repository
Identity Map
Lazy And Eager Loading
Virtual Proxy Pattern
An experienced ALT.NET ish developer will notice some glaring omissions in this article. It looks like I’m ditching the article that I was foundering on and writing a follow up to Persistence Patterns that talks more about architectural ramifications of persistence, some discussion of what your Repository should actually look like, and that little Unit of Work pattern.