yes if you don't want use lazy-properties.
You can disable the validator but then you have to know what will happen if
you use lazy-properties.

On Wed, May 4, 2011 at 10:39 AM, cremor <[email protected]> wrote:

> I just tried a build of the current trunk (coming from 3.2.0.Alpha2)
> and was quite surprised that nothing worked any more because
> NHibernate complained about many of my entities not being proxyable.
>
> Example property:
> public virtual SomeEntity SomeEntity { get; private set; }
>
> Seems like in r5718 the DynProxyTypeValidator was changed to also
> check non-public property accessors (line 57 from
> "property.GetAccessors(false)" to "property.GetAccessors(true)"). I
> see that it's needed to check protected/protected internal accessors
> (so the previous code wasn't checking everything), but shouldn't
> private accessors be allowed?




-- 
Fabio Maulo

Reply via email to