[fluent-nhib] Re: Mapping to a backing field with Fluent NHibernate v1.3.0.717

2011-10-04 Thread Mr Bretticus
Try changing GetAssets() to a read-only property:

Assets { get { return _assets; } }

-- 
You received this message because you are subscribed to the Google Groups 
Fluent NHibernate group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/hlBxb62HGlQJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.



[fluent-nhib] Re: Mapping to a backing field with Fluent NHibernate v1.3.0.717

2011-10-04 Thread James Gregory
Try removing your Access call all together. There was a change made around 
the 1.2 release where FNH would try to auto-detect the access strategy 
depending on your class design. I'm guessing something isn't quite working 
right there and it's prepending an extra underscore.

-- 
You received this message because you are subscribed to the Google Groups 
Fluent NHibernate group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/lc1DblLSVJwJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.