I found the problem by myself.
If you use the "readonly" attribute on a self property like this one:
public Folder ParentFolder { get; private set; }, the nasty C# creates
a private accessor that is unreadable by
NHibernate so it can't fill the property using the fetch strategy.
Unfortunately, in this case, NHibernate does not throw an exception.
I have changed the property, by leaving the "readonly" attribute, in
this way:

private Folder parentFolder;
public Folder ParentFolder { get { parentFolder; }}

and it works like a charm.

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