2

My question is about Entity Framework and the Unit of Work pattern. Is the Unit of Work pattern really needed with Entity Framework ? I mean it look like i see this pattern quiet a lots of time, however isn't the feature of "Transaction" already applied in EF4 ?

Thanks,

Rushino
  • 9,415
  • 16
  • 53
  • 93
  • Old question, but a more extensive answer can be found here: http://stackoverflow.com/questions/7940854/is-unit-of-work-and-repository-patterns-very-useful-for-big-projects – Daniel Flöijer Oct 03 '12 at 20:09

1 Answers1

1

Is it really needed? no, it isn't...

Having said that, I use it as a layer of abstraction for my tests, and found it very useful

sebagomez
  • 9,501
  • 7
  • 51
  • 89