Map.ObjectToObject(source, dest) not mapping classes

37 views
Skip to first unread message

Toshko Andreev

unread,
Dec 3, 2013, 2:20:07 AM12/3/13
to blto...@googlegroups.com
I've got a class that has properties that are other classes and I've noticed that the built in Map.ObjectToObject(source, dest) doesn't seem to want to map them.

public class MyModel
{
        public SomeOtherClass MyProperty {get;set;}
}

Even if I try to map it to another instance of MyModel it will not map the MyProperty property.

Any one have this problem or a solution (preferably without having to touch the toolkit sources on my end).
Reply all
Reply to author
Forward
0 new messages