FWIW, I was able to get past this by changing ManyToOnePart.Write. I changed if (_columns.Count == 0) to if ((_columns.Count == 0) && !String.IsNullOrEmpty(columnName))
No idea if this is the "correct" fix, but it let me get past the block. On Apr 24, 11:04 am, Kevin Dente <[email protected]> wrote: > I'm fairly green with NHibernate and FNH, so hopefully this isn't a > totally dumb question. > > I'm trying to fully automap a set of classes. One of the properties > results in a many-to-one mapping, but the resulting mapping XML has no > column name associated with the property (that is, the attribute is > there but blank), which makes NHibernate barf. Is this ever a > reasonable thing to expect it to do? Am I missing something obvious? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
