Pro LINQ Object Relational Mapping with C# 2008

pp 17-43

ORM Patterns and Domain-driven Design

* Final gross prices may vary according to local VAT.

Get Access


As I pointed out in the first chapter, it is impossible to discuss ORM without talking about patterns and best practices for building persistence layers. Then again, it is also impossible to discuss ORM patterns without calling out the gurus in the industry, namely Martin Fowler, Eric Evans, Jimmy Nilsson, Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, the last four of whom are known in the industry as the Gang of Four (GoF). The purposes of this chapter are to explain and expand some of the patterns created by these gurus and to provide concrete examples using language that every developer can understand.