can you move the logic from the trigger into either the entity itself,
or an event listener on pre insert/update/delete?
in addition to that I would use the Post-Redirect-Get model when
issuing commands. Post for insert, update, delete, redirect to
complete the request (uow) and issue a query. for example a form is
submitted to create a new customer. a successful submit will display
the new customer.
(Monorail controller action)
public void Add(string customerName)
{
var id = session.Save(new Customer{Name = customerName});
RedirectToAction("ShowNewCustomer", new {id});
}
public void ShowNewCustomer(int id)
{
PropertyBag["Customer"] = session.Get<Customer>(id);