Hi,
I am using .NET 2 and a project working fine with Release version of Nhibernate. I download SVN Version to use Generics.
I didnt make any changes to my code. Only replaced the latest dlls. Now when start my project, I am getting this error
cannot be specified as proxy: method get_ID should be virtual.
Now, I have read the forums and I understand that properties must be virtual if we are to use lazy loading. However, my mapping file doesn't specify any collection or child to be lazy loaded.
Now couple of questions
1) Is lazy now the default in the new version?
2) Why do properties and methods have to be marked virtual. What are proxies? I have read the documentation but dont really have a good understanding.
Regards,
|