cassiot wrote:
Yes, I'm using lazy loading. The strange thing about this is that when I was using the latest release I was not forced to make it virtual.
Yes. AFAIK it was a shortcoming (== bug) of the latest release.
cassiot wrote:
The problem to do it all lazy is that I want to make some private accessors only for NHibernate use and I can't do private virtual.
If the accessor is not public, the NHibernate should not require it to be virtual. If it does, file a bug report. (AFAIK You can specify proeprty like
Code:
public virtual int SomeProp
{
get { return ...; }
private set {..}
}
Gert