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