Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

automapper incomplete documentation

Tags:

c#

dto

automapper

I am looking for a documentation for automapper for c#. On their site the documentation is incomplete (as I can see). Example UseDestinationValue is not documented. Also there are other options that are not documented and explained. Where I can find more comprehensive explanation of the automapper options (example UseDestinationValue and others) ?

like image 209
darpet Avatar asked Aug 27 '12 08:08

darpet


1 Answers

StackOverflow is a good place, otherwise, Google is your friend! ;-)

Concerning UseDestinationValue(), Jimmy Bogard says here:

Ignore() will not map that member, nor any child members. UseDestinationValue will leave the existing value there, but will continue mapping any other child members. For example, UseDestinationValue on a collection type will leave things like the collection reference there, but will then fill the collection with values. With a complex type, it will leave the reference as is, but then fill in the values.

like image 127
dabide Avatar answered Oct 21 '22 04:10

dabide