I have a list on the target object that I want to reconcile against the source.
The list is already created, I just want AutoMapper to add/update/delete items from this list, at no time should the list be set to a new object reference. How can I do this?
The reason for this is that the target object is an ORM generated code, and for whatever reason it has no setter.
The target looks like this:
public class Target
{
//This is the target member.
public List EntityList
{
get{
return _entityList;
}
}
//Except this is a much more complicated, track-able list
private List _entityList= new List();
}