Then, should I write a data access layer or not?

Danny and I appear to be giving inconsistent advice on this regard in our recent weekend posts: Danny: More about how to fit the ObjectContext into apps Diego: Unit Testing your Entity Framework Domain Classes In reality, I think we had different scenarios in mind. Danny is talking about the general case, and he is…

1

Unit Testing Your Entity Framework Domain Classes

Technorati Tags: Entity Framework,TDD One interesting question customers that are TDD practitioners usually ask is how to do unit testing with the Entity Framework using mock objects. That is, testing only the domain logic part of the model, without ever touching persistence logic or round-tripping to the database. Usual reasons you want to do this…

10