public partial class StreamlinedEntity : MinimalSitecoreItem
{
public virtual string Title { get; set; }
public virtual string BodyText { get; set; }
[SitecoreQuery(".", IsRelative = true)]
public virtual AdvancedSitecoreItem ExtraInfo { get; set; }
}
So "ExtraInfo" could be lazy loaded only when more fields are occasionally needed. Would this give a performance gain? If so, is there a way to achieve this? Is this a bad idea? Even if the above Sitecore Query worked (which it doesn't) I realise it would return the context item, not necessarily the item we are expecting so wouldn't be what I am looking for.
Thanks
David