views:

732

answers:

3

Hello all,

I wonder if there is an enterprise application sample, designed with Domain Model in the Business Logic layer and LINQ for the Data Mapper? I'm not so sure of how to use the UnitOfWork ability of LINQ to SQL in conjunction with business objects from the Business Layer.

Thanks, Lucian

+1  A: 

I recommend having a look at http://www.dofactory.com/Patterns/Patterns.aspx

mhenrixon
+1  A: 

Take a look at MVC Storefront. It uses Linq to Sql, domain driven design and ASP.NET MVC presented in webcasts and blog posts. Highly reccomended!

Dala
+2  A: 

I just published a simple sample using T4 templates, IoC with StructureMap etc. http://daniel.wertheim.se/2010/03/14/linq-to-sql-how-to-separate-the-entities-and-the-datacontext/

Check the comment. I'm about to make an update to the United of work implementation.

//Daniel

Daniel