Issues with AutoMapper IValueConverter in ReverseMap
I am trying to map between two classes ParentA and ParentB using AutoMapper with a custom value converter. However, I am encountering issues when mapping back from ParentB to ParentA.
Automapper ReverseMap not working as expected while using IValueConverter
I’m facing an issue with AutoMapper where ReverseMap is not working as expected. The mapping from ParentA to ParentB works fine, but the reverse mapping from ParentB to ParentA does not. Here is an example of my classes and mapping configuration.
Automapper: Map a child list in nested object
I am trying to map PagesCategories but the code throws an exception:
Source entities:
Auto Mapper and ASP.NET Core
I got two tables with many to many relationship and I don’t know how to map it. This is the BlogPost
model class: