LINQ Repository and Unit of Work DDD

Posts   
 
    
nabils
User
Posts: 46
Joined: 30-Nov-2008
# Posted on: 28-Jan-2009 22:19:00   

I have been trying to put together a llblgen implementation of a linq repository preferably with unit of work capability for a while now. I came across the one below by Jeremy Skinner: http://www.jeremyskinner.co.uk/2008/03/24/linq-repositories/

I like the clean abstraction of llblgen from the domain layer. Would this work well? The adapter isn't wrapped in a using statement but if the repository was injected as a transient would this matter.

Also does anyone know or have an example implementation of how I could add unit of work to this?

Thanks