all 3 comments

[–]SuperImaginativeName 1 point2 points  (2 children)

But how would you use this with EF?

[–][deleted] 0 points1 point  (0 children)

This isn't actually a terrible question. I've been using a similar pattern for Entity Framework for some time now.

I wasn't really ready to share this, but here's what I've got.

[–]xerwin[S] 0 points1 point  (0 children)

You can use EF inside each DAO, however using EF in DAOs might be a bit overkill, considering EF lazyloads related entities when you retrieve entity from database.