hi, how can I map a property to the oracle sequence number? I suppose I need to specify something somewhere to trigger the next sequence number, as what nhibernate will do

map.Generator(Generators.Sequence, gmap => gmap.Params(new { sequence = "sequence_name" }))

how do I do it with dataobjects?


asked Dec 21 '11 at 10:34

hong's gravatar image


Hello hong,

Could you please specify whether you are going to use existing sequence (created manually) or the one that DataObjects.Net creates during Domain build?

(Dec 22 '11 at 02:47) Dmitri Maximov Dmitri%20Maximov's gravatar image
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview


Once you sign in you will be able to subscribe for any updates here



Asked: Dec 21 '11 at 10:34

Seen: 3,539 times

Last updated: Dec 22 '11 at 02:48

powered by OSQA