You need to make the setter "protected" instead of "private", how else
could a proxy access it!?


On 13 Aug, 22:10, "Alexander I. Zaytsev" <[email protected]> wrote:
> Hi,
>
> I have following snippet of code, which worked in NH3.1 with castle bytecode
> provider
>
> public class SomeEntity
> {
>     public SomeProperty { get; *private set*;}
>
> }
>
> Now in NH3.2 I got excaption that this kind of types are invalid for
> proxying and I need to make these properties more visibly. It is annoying to
> change all of such properties.

-- 
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.

Reply via email to