2008/10/6 Pavel <[EMAIL PROTECTED]>

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

If that is the only one problem you can disable the ProxyValidator . In
NH2.1 you can override it.To disable the proxyValidator you must
set use_proxy_validator property on session-factory configuration:
<property name="use_proxy_validator">false</property>

-- 
Fabio Maulo

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