views:

384

answers:

3

Does anyone have any good links about a practical example of Unit of Work pattern with LINQ to SQL

+2  A: 

The only resource that I know off is the code for Suteki Shop, an ASP.Net MVC application which uses LINQ To SQL.

One change they carried out recently was to implement the Unit of work pattern in all the controllers.

Keith Bloom
+4  A: 

Rick Strahl has some good stuff on it.

RichardOD
+1  A: 

Ritesh Rao implements it over nhibernate, entity framework and linq to sql in his ncommon framework:

http://www.codeinsanity.com/2008/09/unit-of-work-pattern.html

http://code.google.com/p/ncommon/

Chev