Question

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

Was it helpful?

Solution

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.

OTHER TIPS

Rick Strahl has some good stuff on it.

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/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top