Base solution for your next web application
Open Closed

How can I use automapper valueresolver ? #1046


User avatar
0
sbakir created

How can I use automapper valueresolver during the mapping process? I have not seen a chapter about it in the documentation.

good works...


4 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Have you checked automapper's documents? this is not related to ABP itself.

  • User Avatar
    0
    sbakir created

    You misunderstood me, i wanted to say about custom mappings in abp like using custom resolver when mapping one field to another field. Also conditional ignore field,usevalue features... where can I add this code.

  • User Avatar
    0
    hikalkan created
    Support Team

    OK. You can do it Initialize of your module by directly using AutoMapper's API.

  • User Avatar
    0
    sbakir created

    thanks for your answer