If you call ClassMap.GetClassMapping(), it adds a bunch of stuff to the "mapping" instance variable and returns the variable. Since all of this stuff is stored on the instance variable now, if I call ClassMap.GetClassMapping() again, it adds everything again and now there are duplicate items in the list.
I don't know if this is causing problems or not, but it seems like a command-query separation problem. I had a unit test for my conventions that would check stuff in the ClassMapping, which was failing because of the duplicates. Jon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
