Access strategy "readonly" is missing (access="readonly")
Currently this strategy cannot be configured. Methods ReadOnlyPropertyXXX cannot be used as they produce access="nosetter.xxx"
access="readonly" is used for properties that only have a getter and no backing field e.g.:
public bool HasItems { get {return Items.Count > 0;}}
Comments are currently closed for this discussion. You can start a new one.
2 Posted by Maciej Szczepański on 30 Mar, 2010 09:52 PM
As a workaround Access.Using(typeof(NHibernate.Properties.ReadOnlyAccessor)) can be used.
Support Staff 3 Posted by Paul Batum on 22 Aug, 2010 04:40 AM
Lee Henson submitted a fix for this, its in my repository now and should be in the official trunk before long.
Paul Batum resolved this discussion on 22 Aug, 2010 04:40 AM.