automapper-8

Automapper 8 mapping not working properly

三世轮回 提交于 2019-12-13 10:32:59
问题 I have two model classes, when I try to map different properties of different name by using Automapper ForMember method. It throws an automapper configuration validation exception on the mapping of different property. I have tried a lot but It does not help.I do not know why It is throwing an exception when I try to map Quantity property with Quntity property. but when I put same name of the property in both the model classes then it works Below is located all the model classes, exception and