did you try marking Address as virtual as it says?

Gustavo.

On Mon, Oct 6, 2008 at 8:49 AM, Pavel <[EMAIL PROTECTED]> wrote:

>
> I've build my WinForm app on windows machine and the app is working
> ok. When I user nhibernate 1.2.1 the app also worked on linux machine
> using mono, but now when i upgraded app to nhibernate 2.0.1 it works
> only in windows.
> I've get error:
>  NHibernate.InvalidProxyTypeException: The following types may not be
> used as proxies:
> xxxx.Data.Dao.Credit : method obj_address should be virtual
> ......
> Can anyone help me with this problem?
> >
>

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