This is normal if you need a transaction around the item and not around the total list, probably it all are transient objects or detached objects, it the latter case nhibernate needs to check for updates.
Need a little more, past the code or something Regards On Jan 16, 10:53 am, Kris-I <[email protected]> wrote: > Hello, > > Some result of my dataacess layer return an IList<> this list is binded with > some controls. > > When I save the change, I see a query is executed for each line (I see with > NHProf) even for each record even for the record without any change. > > I have a save method with an item in argument and a seva method witn an > IList<> in arg. When I use the save with IList<> in arg I call in a loop the > Save with item. In this save there is transaction (for each item) > > Is it normal ? Is there "something to do" ? > > Thanks, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
