Hi Is there any reason you can't configure the model then output the mapping, personally I don't seem to be able to make it break before the configure is called.
Andy On Wed, Jan 28, 2009 at 11:35 PM, Jay Oliver <kyth...@gmail.com> wrote: > > That doesn't seem to be happening for me, but it'd be thrilling if > there was a way to turn it on. > > On Jan 28, 2:49 pm, Andrew Stewart <andrew.stew...@i-nnovate.net> > wrote: > > Hi Jay > > Dont quote me on this but I think if you configure you model inside a > nunit > > test you ca see the mappings in output. > > I'm away from the source at the mo, let me know if that doesnt solve your > > problem and I'll boot the source up and have a play > > > > Cheers > > > > Andy > > > > > > > > On Wed, Jan 28, 2009 at 5:36 PM, Jay Oliver <kyth...@gmail.com> wrote: > > > > > I'm playing around with the AutoPersistenceModel, and I like it a good > > > deal. > > > > > I've been doing a lot of tweaking conventions to try to get it just > > > right, and keep running into the same problem: When a mapping is > > > produced that NHibernate doesn't like, I have no way to see the XML of > > > that mapping. > > > > > I've tried calling WriteMappingsTo, but in the case of the > > > AutoPersistenceModel, it seems that they're not actually created / > > > added to the collection until after Configure is called. Seems like a > > > bit of a catch 22 - I can only get the mappings when there are no > > > issues with them. > > > > > Is there something I'm missing? It would make tweaking my conventions > > > much easier if I could actually see the results. > > > > -- > > ================= > > I-nnovate Software - Bespoke Software Development, uk wirral. > http://www.i-nnovate.net > > > -- ================= I-nnovate Software - Bespoke Software Development, uk wirral. http://www.i-nnovate.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---