Plain Old CLR Objects

  • Larry Tenny
  • Zeeshan Hirani

Abstract

Objects should not know how to save themselves, or load themselves, or filter themselves. That’s a familiar mantra in software development and especially in Domain Driven Development. There is a good bit of wisdom in the mantra. Having persistence knowledge bound too tightly to our domain objects complicates testing, refactoring, and reuse. The classes generated by Entity Framework for our model entities are heavily dependent on the plumbing of Entity Framework. For some developers, these classes know too much about the persistence mechanism and are too closely tied to the concerns of models and mapping. There is another option.

Keywords

Harness Dick Karen 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Larry Tenny and Zeeshan Hirani 2010

Authors and Affiliations

  • Larry Tenny
  • Zeeshan Hirani

There are no affiliations available

Personalised recommendations