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...

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    hikalkan created
    Support Team

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    sbakir created

    thanks for your answer

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)