Sorry I could've given it more thought. Actually just dinging with it could've gotten it done.
In the wiki, at the bottom, you could mention "be sure to add deserialized mapping before validator integration". I actually failed to realize what you meant by validator integration. *Could've given it more thought* I plan on writing a theory of everything article sometime .. ehm, this month, next month maybe :) It'll be based on that solution. Kind of like this < http://nhforge.org/blogs/nhibernate/archive/2009/08/27/nhibernate-and-wpf-validations.aspx > .. NH + WPF trying to explain all the moving parts. To put it all in one place and a single example and at the current state of the art. On May 31, 3:10 pm, José F. Romaniello <[email protected]> wrote: > Now *we are waiting* a blog post or something explaining your problem for > others :) > > 2011/5/31 José F. Romaniello <[email protected]> > > > > > > > > > Glad you fixed! > > I was about to start digging the solution you sent me [?] > > What Fabio said is exactly what i meant in my previous mails (but shorter > > and clear), I told you to add the mappings first to the configuration and > > then integrate with NHV > > > The wiki i was refering is : > >http://nhforge.org/wikis/howtonh/setup-nhv-fluently-with-your-ioc-con... > > and at the very botton in mention how to integrate with nhibernate.. > > > anyway glad you fixed. > > > 2011/5/31 H.Alex <[email protected]> > > > I cannot believe it, it works. Both ways. > > >> Thank you @ all. > > >> On May 31, 2:33 pm, Fabio Maulo <[email protected]> wrote: > >> > var mapping = mapper.CompileMappingFor(entities); > >> > config.AddDeserializedMapping(mapping, "AgileDomain"); > > >> > NHibernate.Validator.Cfg.ValidatorInitializer.Initialize(config, ve); > > >> > You *can't* integrate NHV with NH before add mappings. > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "nhusers" 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/nhusers?hl=en. > > > > 360.gif > < 1KViewDownload -- You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en.
