Question

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?

Was it helpful?

Solution

Use UnitOfWorkApplication. Here's how.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top