Hi Lars, It looks like its been changed to support multiple columns. For now, this should work:
Map(x => x.BusinessName).ColumnNames.Add("FirmName") I'm not sure if I like this change. James, did you consider achieving this with two methods, one that takes a string and another that takes a lambda with which you can specify multiple columns? I'm thinking something like: Map(x => x.BusinessName).ColumnName("FirmName"); and Map(x => x.BusinessName).ColumnNames(c => { c.AddColumn("FirmCol1"); c.AddColumn("FirmCol2"); } Thoughts? On Sun, Mar 29, 2009 at 9:39 AM, Lars <larc...@yahoo.com> wrote: > > I see that TheColumnNameIs has been replaced with ColumnName in > IIdentityPart, but I can't figure out what it was changed to in > PropertyMap. > > The Map statement is: > > Map(x => x.BusinessName).TheColumnNameIs("FirmName"); > > But this no longer works. > > Thanks, Lars > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---