I'm trying to set a table name convention: var myConvention = ConventionBuilder.Class.When( c => c.Expect(x => x.TableName, Is.Not.Set), x => x.Table(string.Format("tbl{0}s", x.EntityType.Name))), // class Foo becomes tblFoos
fluentConfiguration.Mappings(m => { ... m.FluentMappings.Conventions.Add(myConvention); So when the table name isn't already set, it will set one. This isn't working. Debugging, I think I've found that table name is actually already set at this point to, for example, "`Foo`", for a class named "Foo". It's as if FluentNHibernate is trying to set a table name by default even before my conventions are consulted. Did something change in FNH 1.3? -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To unsubscribe from this group and stop receiving emails from it, send an email to fluent-nhibernate+unsubscr...@googlegroups.com. To post to this group, send email to fluent-nhibernate@googlegroups.com. Visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en. For more options, visit https://groups.google.com/groups/opt_out.