A quick writeup can be found here: http://nhforge.org/wikis/howtonh/prefent-nhibernate-from-saving-default-relations.aspx
On Jul 1, 8:33 am, Caio Kinzel Filho <cai...@gmail.com> wrote: > Have you found a solution for that already? > > On Mon, Jun 22, 2009 at 4:47 AM, David Perfors<dnperf...@gmail.com> wrote: > > > Sure no problem, will do it this week... > > > On Jun 19, 3:21 pm, Fabio Maulo <fabioma...@gmail.com> wrote: > >> 2009/6/19 David Perfors <dnperf...@gmail.com> > > >> > Instead of using the above method I use the FlushEntity event to set > >> > the reference to null when it has the default value, and the LoadEvent > >> > to set the reference to the NoTaxCalculator when the value is null. > >> > That works like a charm... > > >> Do you want share your code in NH-Forge wiki or blog ? > > >> -- > >> Fabio Maulo > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---