Unfortunately there isn't support for this currently. There was an
issue<http://code.google.com/p/fluent-nhibernate/issues/detail?id=81>created
for this a while back, but nobody's claimed it yet.

On Thu, Feb 19, 2009 at 7:55 AM, Filip Kinsky <fi...@filovo.net> wrote:

>
> Maybe I just can't see something obvious, but how can I create
> convention for mapping ID fields to Oracle's sequence with name like
> "seq_" + entityTypeName? I'm not able to figure out how to access the
> ID property type and according to source code (IdentityPart.cs) the
> _property member field is not published - should I send a patch for
> this or is there any other method how to build sequence name like
> this?
>
> model.Conventions.IdConvention = id => id.GeneratedBy.Sequence("seq_"
> + id.Property.DeclaringType.Name);
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to