Sort before persist or after upload or during upload ?

2009/8/28 JamesSpibey <[email protected]>

>
> Hi,
>
> I have an IList in my object which is mapped using NHibernate as a
> bag. I want to sort the data in the list before it is persisted to the
> database, however, I cannot use the Linq-to-objects sorting mechanisms
> as they create a new List which breaks NHibernate's link to the
> collection. Likewise, there is no in-place sorting mechanism which I
> can use on an IList.
>
> Anyone have any pointers on how this might be done?
>
> Thanks
>
> James
> >
>


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

Reply via email to