What is the best implementation of Unit of Work ??

Jul 6, 2011 at 3:43 PM

I am elaborating the best way to implement Unit of Work in conjunction with Repository, I don't like the current design because repository is coupled with unit of work, and i can't use the repository without a unit of work as the nhibernate unit of work contains the session object.

Any suggestions?