Use a list (instead of a bag/set).
-----Original Message-----
From: Inna
Sent: Thursday, June 02, 2011 4:45 PM
To: nhusers
Subject: [nhusers] custom sort order by position
Hi
I was wondering if it is possible to set the sort order by position
using nhibernate. The position of an item is stored as an integer
field in the database. Right now, as the user moves the items up and
down i have to
keep on re-adjusting the position property for all the items in the
collection.
Is there a built in nhibernate functionality that would do something
similar for me?
Thank you!
--
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.
--
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.