> I have only two questions. > Why a query to DB, in the middle of a UoW, should include changes suspended > in the UoW ? > > The UoW's definition is herehttp://martinfowler.com/eaaCatalog/unitOfWork.html > > Which is your interpretation of UoW pattern ?
Fabio, That is a great point. To be honest, I was using a UoW implementation that was suggested to me. In fact, I have seen quite a few blogs, sites, where this pattern is used at the httprequest level, in a single transaction. However, you are exactly right. I wanted to make the UoW construction as simple as possible for other developers here. But, I need to rethink this.... Having the UoW controlled only by a httpmodule may not be sufficient. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
