Hi James, sadly still doesn't change the constraint name:
alter table usergroups_accountpermissions add constraint FK2D17646FA29C857 foreign key (UserGroupID) references usergroups; I can set it manually in the mapping by doing this: .ForeignKeyConstraintName("usergroups_accountpermission_fk"); but would have been nice to use a convention to keep it all consistant. -M On Mar 28, 7:04 pm, Maxus <rtypestud...@gmail.com> wrote: > No I haven't, will give it a try and report back :) > > On Mar 28, 2:27 am, James Gregory <jagregory....@gmail.com> wrote: > > > > > Have you tried deriving from the ForeignKeyConvention base class? It > > shouldn't work any different from the way you've been doing it, but I would > > be interested to see if you have any different results using it.- Hide > > quoted text - > > - Show quoted text - -- 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.