views:

384

answers:

2

I'm playing around with RhinoCommons and NHibernate and I had a question about the UnitOfWork pattern.

Sorry if this is a n00b question.

Should the UnitOfWork be started at the very highest level (ie the controller)? Or say in the service module that the controller is calling down into?

+3  A: 

Use UnitOfWorkApplication. Here's how.

Tim Scott
A: 

I think the UnitOfWork must be a service facility and not part of the Controller responsabilities.

kementeus