can automapper create an object graph from flatted object?

Posted by Nima on Stack Overflow See other posts from Stack Overflow or by Nima
Published on 2010-05-19T12:33:17Z Indexed on 2010/05/26 8:31 UTC
Read the original article Hit count: 231

Filed under:

Is possible with Automapper to map a flat object to complex object graph?

 Mapper.CreateMap<PersonDto,Person>()

Map PersonDto.BirthCertificateFatherName to Person.BirthCertificate.FatherName

© Stack Overflow or respective owner

Related posts about automapper