The new, built in proxy generator may break code that was written for older 
NH versions using Castle (it did for my project, so I had to keep using the 
earlier version).

So that's one reason to use Castle.  However, I was unable to find good 
documentation on how to set up Castle with the latest NH versions (this was 
a few months ago, so maybe that's changed).

-Tom Bushell

On Thursday, June 7, 2012 6:23:38 PM UTC-4, Michael Powell wrote:
>
> Yessir, this is what I've gathered thus far. Is that adequate for most 
> proxy needs? 
>
> Is there any reason to use Castle, LinFu, or Spring (not least of 
> which is the issue of having to then find and/or build them before 
> referencing them)? 
>
> On Jun 7, 12:12 pm, Oskar Berggren <oskar.bergg...@gmail.com> wrote: 
> > Since NH 3.2 there is a built in proxy generator which is used unless 
> > you explicitly tell if otherwise in the configuration. 
> > 
> > /Oskar 
> > 
> > 2012/6/7 Michael Powell <mwpowell...@gmail.com>: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > Need a general idea, what's the proxyfactory low down? As regards 
> > > latest FNH? And latest NH that FNH incorporates? 
> > 
> > > Do we need a proxyfactory or don't we? Is there a "default" one we can 
> > > use if we take the configuration line out? Where/how do we obtain 
> > > Castle and/or LinFu if we want to evaluate one or both of those? 
> > 
> > > Am I correct in the assumption that this is only necessary if lazy 
> > > loading is a requirement? In other words, if we don't care about lazy 
> > > loading, then we can leave the line out and configure our mappings to 
> > > not lazy load? 
> > 
> > > Thanks... 
> > 
> > > Best regards, 
> > 
> > > Michael 
> > 
> > > -- 
> > > 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 athttp://
> groups.google.com/group/fluent-nhibernate?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/uE7v678XymMJ.
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.

Reply via email to