Dont have the rep to comment on an answer, but here is a follow up to Jinkinz answer:
Using Repository and Unit of Work patterns with Entity Framework 4.0:
http://blogs.msdn.com/b/adonet/archive/2009/06/16/using-repository-and-unit-of-work-patterns-with-entity-framework-4-0.aspx