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 -~----------~----~----~----~------~----~------~--~---