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?

thanks

asked Dec 21 '11 at 10:34

hong's gravatar image

hong
5111

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

Subscription:

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

Tags:

×9
×2
×1

Asked: Dec 21 '11 at 10:34

Seen: 2,877 times

Last updated: Dec 22 '11 at 02:48

powered by OSQA