a ver... you have an UI issue. The UI hopefully is implemented using MVP. After that you have, probably, a service layer then some DAOs/Repositories the DAOs/Repositories is using NHibernate
the solution you are looking for is ? and it is for ? give to the user something to watch during the save ? give him a link to youtube or perform the task in another thread, live him continue working, and send him something when the task is done. 2009/10/26 Vadgros <[email protected]> > > Hey. > > I have a scenario where I have to save lots of items to the DB and it > takes a while. I'd like the user to get some sort of an indication of > the progress being made. The easiest way to implement it is iterate > over the items I need to save, save each one and report the progress. > But I'd like to let NH do the work. > > The only thing I thought of was using Interceptors (each time this > object gets saved fire another event if needed) but I don't think this > is what they were meant to do. > > Am I wrong? Is there another way of doing it? > > Thanks. > > > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
