Source里面有不想映射的字段可以通过ForMember("属性",f=>f.Ignore())来忽略,那么Destination里面有多余字段怎么处理呢;
如图:
标签:
AutoMapper
相关问题
- How to ignore properties of a specific type when u
- EF Core - Return mapped Many-to-Many relationship
- Validation of nested models in view model in ASP.N
- Using string.Split() in AutoMapper issue
- Mapping from two items with automapper
相关文章
- automapper 对 查询出来的 entity 跟新值
- Automapper - Ignore mapping with condition
- Automapper and request specific resources
- Mapping Child Collections using AutoMapper
- AutoMapper 8.0 missing GetPropertyMaps
- AutoMapper for a list scenario only seems to repea
- Configuring Automapper in N-Layer application
- AutoMapper.AutoMapperMappingException: Error mappi
反给过来创建一个映射进行忽略