¡@

Home 

c# Programming Glossary: subentity

How do you map a Dto to an existing object instance with nested objects using AutoMapper?

http://stackoverflow.com/questions/3672447/how-do-you-map-a-dto-to-an-existing-object-instance-with-nested-objects-using-au

public class Entity public string Property get set public SubEntity Sub get set public class SubEntity public string SubProperty.. Property get set public SubEntity Sub get set public class SubEntity public string SubProperty get set How can I set up a mapping.. name lambdaExpression . If I create a mapping from Dto to SubEntity using FromMember then Entity.Sub gets replaced with a new instance..