I have a restriction similar to Windows Explorer in my table, where any particular file or folder may not have the same name as another within a particular parent folder.
When creating a new item in that folder, I want to automatically load the next sequential name. (i.e. "New Folder 2" already exists, so when the user creates a folder, I want to default to "New Folder 3", also like Explorer) How would one efficiently query the database in nhibernate to do this? Would I pull in everything like "New Folder%" and sort it myself or is there something built in? Best Regards, Eric -- 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.
