I'm playing with the latest Entity Framework CTP 5 release and building a simple asp.net MVC blog where I just have two tables: Post and Comments. This is done entirely in POCO, I just need help on the DbContext part, where I need it to be unit testable (using IDbSet?) and I need a simple/generic repository pattern for add, update, delete, retrieval. Any help is appreciated.

Thanks.
['https://Stackoverflow.com/questions/4442828', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/248480/']
I just love this in-depth article about Entity Framework 4 POCO, Repository and Specification Pattern

<http://huyrua.wordpress.com/2010/07/13/entity-framework-4-poco-repository-and-specification-pattern/>
The only thing I'd do differently is in the implementation, i.e. expose the IPostRepository in the service layer and have an interface field of type IPostService in the controller just as another layer of abstraction but otherwise this is a good example - nice one, Paul.