AutoMapper with IList <Item>
I have an article class with property
private IList<Tag> _tags;
public virtual IList<Tag> Tags
{
get{
if(_tags == null)
_tags = TagService.GetTags(this);
return _tags;
}
}
Since there is no SET for tags, automapper will not set tags when matching with the viewmodel for viewing. Any ideas?
+3