AutoMapper.AutoMapperMappingException

爷,独闯天下 提交于 2019-12-06 00:34:58

My problem has been fixed. The problem was the following:

In our solution we recently started working with IOC. Someone created a TypeAdapter with AutoMapperTypeAdapter as referenced entity.

When in our application a certain module was open or entered, Automapper was being initialized again and my mappings created in global.asax were removed.

After modifying my code to also work using the TypeAdapter, my problem was fixed.

Thanks for everying trying to help me!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!