Replies: 1 comment
-
AM doesn't work that way. Destination values are set using properties, fields or constructors (public or not). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I am have code
var payment = new Payment(Guid.NewGuid())
.SetUserId(request.UserId)
.SetDateTime(request.DateTime)
.SetAmount(request.Amount)
.SetDescription(request.Description)
.SetReceiveDateTime(DateTime.UtcNow);
i am want to tuning automapper for calling var payment = _mapper.Map(request);
Can you to show Profile example for my case?
Beta Was this translation helpful? Give feedback.
All reactions