AutoMapper:Missing type map configuration or unsupported mapping

来源:互联网 发布:软件开发教程视频 编辑:程序博客网 时间:2024/06/09 23:41

报错:Missing type map configuration or unsupported mapping  未配置或不支持映射

解决方法

在实际映射的时候,把AutoMapper.Mapper.Map<Source, Destination>换成AutoMapper.Mapper.DynamicMap<Source, Destination>


0 0
原创粉丝点击