首页
新闻
搜索
专区
学院
园子
·
关注
·
粉丝
·
随便看看
·
消息
欢迎,请先
登录
或者
注册
。
登录
/
注册
闪存
博客
发言
小组
投递
新闻
提问
博问
添加
收藏
发布
招聘
文库
问题反馈
问题列表
我关注的
我的博问
博问标签
当前位置:
博问标签
/
automapper
/
未解决
/
已解决
2
回答数
5
automapper 对 查询出来的 entity 跟新值
从数据查询 出来 entity 如何用 automapper 更新 entity 类似 if dto.a!=NULL entity.a= dto.a update(entity) 分割线 entity
1
回答数
5
automapper的Profile如何实现注入
想在automapper转换实体的时候获取缓存数据。 using AutoMapper; public class TestProfile : Profile { public TestProfile
2
回答数
10
AutoMapper如何根据上下文变量按条件映射?
类似需要用到当前用户的权限或ID来进行不同的映射。比如权限不足就隐藏内容。
3
回答数
AutoMapper.AutoMapperMappingException: Error mapping types. Missing type map configuration or unsupported mapping.
在.net core 3.0项目中,有Repository、Service、Api层,需要在Entity、Model、RequestModel、ResponseModel之间进行转换,于是用到了Aut
4
回答数
10
C#AutoMapper赋值的问题
现有两个实体类 public class One { public string Name; public string Sex; } public class Two { public string
1
回答数
10
AutoMapper 映射问题
Source里面有不想映射的字段可以通过ForMember("属性",f=>f.Ignore())来忽略,那么Destination里面有多余字段怎么处理呢; 如图:
1
回答数
50
.NET Core 中 AutoMapper 映射配置问题
AutoMapper 如何将源对象的子对象映射到目标对象(针对 ProjectTo 的场景)? 源对象的类定义如下: public class JobPosition { public Enterpr
1
回答数
30
.NET Core 项目升级 AutoMapper 后遇到的 lambda 表达式问题
将 AutoMapper 由 7.0 升级至 8.0 后,下面的代码 cfg.CreateMap<JobOffer, Document>().ConstructUsing(j => { //... }
1
回答数
30
ASP.NET Core 中使用 AutoMapper ProjectTo 的问题
Startup 中是这么配置 AutoMapper 的 IConfigurationProvider config = new MapperConfiguration(cfg => { //... }
1
回答数
10
AutoMapper 使用 Conventions 映射出错
使用 AutoMapper 7.0..1 转换出错! UserOutput 中多出一个 Account 属性,在 User 中不存在,导致无法转换成功,如果直接使用 cfg.CreateMap<Use
2
回答数
30
.net core中使用AutoMapper ProjectTo的问题
已经配置了map,并已依赖注入 cfg.CreateMap<User, MentionUserDto>(); 使用 _mapper.Map<IEnumerable<MentionUserDto>>()
1
回答数
使用AutoMapper 时出现 Mapper not initialized
Mapper not initialized. Call Initialize with appropriate configuration. If you are trying to use map
1
回答数
“AutoMapper”已拥有为“Microsoft.CSharp”定义的依赖项。
当我使用Nuget引用Automapper时出现如下错误: 有人能给我提供点帮助么,TKS。
1
回答数
Expression<Func<TDto, IEnumerable<C>>> 转<Expression<Func<TEntity, IEnumerable<C>>>
我使用automapper 把Expression<Func<TDto, IEnumerable<C>>> 转<Expression<Func<TEntity, IEnumerable<C>>> 报
1
回答数
AutoMapper 中的嵌套映射问题
比如我在 startup.cs 中定义了一个AutoMapper 映射规则如下: 1 a.CreateMap<AItem, ADTO>() AItem 为Entity, ADTO 为 DTO 但是在A
1
回答数
20
求解 AutoMapper映射类发生错误求解
一个类是展示类: public partial class sysFunctionView { public int fID { get; set; } public int mID { get; s
1
回答数
20
求解 AutoMapper.Mapper.DynamicMap 找不到这个方法
为什么我在使用AutoMapper.Mapper.Map对类进行映射的时候提示: Missing type map configuration or unsupported mapping 失踪的类型
1
回答数
50
AutoMapper 如何将数据库模型向视图模型转换
现在项目上有这么一个需求,就是使用AutoMapper做数据模型向视图模型的互相转换,整个系统的命名规范是这样的 数据库是:模块名+_+表名 而 视图模型 直接为表明 例如:Sys_UserInfo
2
回答数
10
AutoMapper
大家有没有在Asp.Net MVC4 中使用 AutoMapper 这个东西? 有没有遇到这个一个问题: This type is not supported on this platform IDi
2
回答数
80
关于AutoMapper映射,求帮助
问题描述 项目中数据库字段名称与实体类名称有差别 例如。 实体类 public class User { public string UserName { get; set; } public str
博问搜索
关于博问
»
博问帮助
»
园豆排名
»
发现问题
»
我有建议