This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, Seems there is an issue with RegisterLazyField in the base Entity class. In the release 1.2 source for Entity it lists as follows: internal void RegisterLazyField(FieldModel fieldModel){ if (_lazyFields == null){ _lazyFields = new Set<string>();_lazyFields.Add(fieldModel.FieldName); } }
It should of course be: internal void RegisterLazyField(FieldModel fieldModel){ if (_lazyFields == null){ _lazyFields = new Set<string>();} _lazyFields.Add(fieldModel.FieldName); }
Currently only the first field registered is lazy loaded, the rest are not. Thanks, Kavan |
|
|
Thanks Kavan, this is fixed in nightlies.
|
|