1

Mapper.DynamicMap(object, source, destination) is deprecated in the latest version of Automapper.

What is the alternative of this method when the source and destination values are not known until runtime?

MarredCheese
  • 17,541
  • 8
  • 92
  • 91
Satyajit
  • 1,971
  • 5
  • 28
  • 51

1 Answers1

5

I found the answer. It was all put into one method:

Mapper.Map(object, source, destination)
MarredCheese
  • 17,541
  • 8
  • 92
  • 91
Satyajit
  • 1,971
  • 5
  • 28
  • 51