I found this over on StackOverflow: Fluent Nhibernate - Generate a non-primary-key sequence generated value http://j.mp/h0wr3h
.. which indicates the only solution might be to hook into OnPreInsert, making a standard query to invoke the sequence and get its value. Is this really the best I can do? Seems like waste to make an extra database call on insert ... On Dec 1, 1:28 pm, fel0nious <[email protected]> wrote: > is this possible? > > The business requirements consist of a key for the table (also > generated by sequence), and an additional user-friendly value which is > generated by a sequence. -- 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.
