In NH 1.2 if you had somehing implementing an interface with a method
IsDeleted, you didn't have to set it as virtual.

>From NH 2.0 also methods implementing an interface should be marked as
virtual. I'm not sure why this was changed but i remember of having this
problem.

Gustavo.

On Wed, Mar 18, 2009 at 11:43 AM, graphicsxp <[email protected]>wrote:

>
> Hello,
>
> After changing my NHibernate dll from 1.2 to 2.0, I receive the
> following errors when BuildSessionFactory() is called :
>
> The following types may not be used as proxies:
> DataTransfer.Cutting: method set_IsDeleted should be virtual
> DataTransfer.MediaElement: method set_IsDeleted should be virtual
> DataTransfer.Cutting: method set_IsChanged should be virtual
> DataTransfer.MediaElement: method get_IsDeleted should be virtual
> DataTransfer.MediaElementType: method set_IsChanged should be virtual
> DataTransfer.Media: method AddMediaElement should be virtual
> .
> .
> .
> It goes on like that with all my Mapped entities.
>
> What is going on ?
> >
>

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