Collection Is Null In Lazy Class
Description
Environment
None
Attachments
1
Activity
Show:

Ricardo Peres December 6, 2012 at 11:23 AM
Hi, Stefan!
Thanks, but I think the problem was related to having a private setter.
RP

Stefan Reicht December 5, 2012 at 12:24 PM
Hi Ricardo,
do you still have the problem?
Maybe is helpful.

Ricardo Peres April 12, 2011 at 6:59 AM
It works fine with the old Castle bytecode provider.

Ricardo Peres April 11, 2011 at 3:59 AM
Test project is here: http://cid-0450c015fc418de2.office.live.com/self.aspx/.Public/NHTest.zip.

Ricardo Peres April 11, 2011 at 1:58 AM
Fabio,
Yes, I am always learning, from you and others, but I know what inverse is... and I don't have inverse=true on both sides. Did you look at the code? Even if I had, that wouldn't explain why it works when the class is not lazy, and not when it is lazy. I asked about this on nhusers, nobody answered.
Not an Issue
Details
Details
Assignee
Unassigned
UnassignedReporter

Components
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created April 8, 2011 at 4:55 PM
Updated December 6, 2012 at 11:23 AM
Resolved April 10, 2011 at 4:04 PM
Who's Looking?
A declared is declared as lazy and has a set property also lazy. When loading an entity, the set property is null. Mapping is made with the trunk version of by code mapping.