@jwdavidson: yes, I would structure the code so each request is a single unit of work. a request will either alter data (command) or retrieve data (query). never both. typically I have a single session per request and manage transactions using a filter/decorator. this allows me to by pass the transaction if the action does not require the database.
this removes the possiblity if session edge cases. -- 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.
