Hi,

I'm using NHibernate to map my domain objects that are retrieved by a
fat winforms client over remoting from repositories that execute in a
windows service.  The development scenario that I'm facing is a
typical one.  I have a parent/child-collection relationship where the
user edits the child collection in a Grid with the usual paging,
sorting, searching on one or more columns. Additionally there are
rules around how many of each item can be in the collection.


Usually, I encapsulate and map the collection in the parent however
I'm finding that difficult when remoting is introduced because the
collection is mildly large, a couple thousand items, and when I save
the parent NHibernate generates sql statements for every item of the
collection instead of just what has changed. I presume this is
happening because I'm not manipulating the object in the ISession.

What are some solutions and/or other patterns of development for this
sort of scenario?



Cheers,
Aeden


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to