Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
AutoMapper 从静态 API 迁移
https github com AutoMapper AutoMapper wiki Migration from static API https github com AutoMapper AutoMapper wiki Migrat
c
aspnet
AutoMapper
自动映射器更新现有对象而不是创建新对象[重复]
这个问题在这里已经有答案了 有什么办法可以使用吗自动映射器5 1 1更新现有对象而不是创建新对象 例如我们有一个Customer实体和一个CustomerViewModel 我们想更新现有的Customer与CustomerViewMode
AutoMapper
automapper5
自动映射器配置文件未在启动时加载?
我在用着 自动映射器 6 1 1 AutoMapper Extensions Microsoft DependencyInjection 3 0 1 看来我的个人资料没有被加载 每次我调用 mapper map 时我都会得到AutoMapp
c
AutoMapper
aspnetcore20
通过 AutoMapper 将 IList 映射到 ICollection
public class Order public int OrderId get set public string OrderCode get set public IList
AutoMapper
自动映射器从嵌套类映射到单个类(展平)
这是我的来源 public class User public int UserId get set public Address Address get set public class Address public string Add
ASPNETMVC
AutoMapper
AutoMapper:MapFrom 和 ResolveUsing 之间有什么区别?
忽略ResolveUsing采用 IValueResolver 的重载 并且仅查看这 2 个方法 void ResolveUsing Func
AutoMapper
automapper2
使用 DataContractSerializer 序列化接口列表
我有一个类 其中有一些嵌套类 我将其序列化并使用没有问题的方法将其发送到 wcf 服务 这是课程 public class ComputerDTO DataMember public ComputerTypeDTO Type get set
c
wcf
interface
AutoMapper
DTO
1_ state":-2,"<>t__builder":{"" > 运行项目 net core 时出现错误 "{"state Machine":{"<>1_ state":-2,"<>t__builder":{"
当我运行项目 netcore 时 我收到一条消息 stateMachine 1 state 1 t builder 我不知道如何解决这个问题 我在命令行中看到错误 Microsoft AspNetCore Diagnostics Devel
c
ASPNETCore
NetCore
AutoMapper
Automapper 通过继承映射基类
我在使用自动映射器映射我的父类时遇到一些问题 给定以下类 我创建了一个映射配置文件 映射类 public class SourceClass public int SourceProperty1 get set public int Sou
c
AutoMapper
如何将 AutoMapper 与 Ninject.Web.Mvc 结合使用?
Setup 我有一个AutoMapperConfiguration设置 AutoMapper 映射的静态类 static class AutoMapperConfiguration internal static void SetupMap
c
dependencyinjection
inversionofcontrol
ninject
AutoMapper
当视图模型没有域模型那么多的字段时,如何忽略/保留 MVC 中的值?
我有一个网站 我正在使用 FluentNhibernate 和 Asp net MVC 我有一个编辑视图 允许用户编辑该记录 对象 的 10 个属性中的 8 个 当您提交表单和模型绑定时 两个不可编辑的字段将作为空字符串或默认日期时间值返回
ASPNETMVC
MVVM
fluentnhibernate
ViewModel
AutoMapper
我可以使用自动映射器将多个对象映射到目标对象吗
UserAccount objUserAccount null AutoMapper Mapper CreateMap
c
mapping
AutoMapper
Automapper:如何不重复从复杂类型到基类的映射配置
我有一堆继承于此的 DTO 类CardBase base class public class CardBase public int TransId get set public string UserId get set public
c
inheritance
ViewModel
AutoMapper
如何使用 Automapper 映射复杂对象?
我有几门课 public class Customer public string FirstName get set public string LastName get set public Product Product get se
c
AutoMapper
如何配置Automapper注入Ninject 2.0?
Structure Map 和 Windsor 有配置示例 http www cprieto com index php 2009 08 20 using automapper with castle windsor http www cp
NET
ninject
AutoMapper
Automapper:映射到受保护的财产
我需要映射到protected使用类的属性Automapper 我有一个public此类上公开的方法 用于设置属性的值 该方法需要一个parameter 如何将值映射到此类 目的地舱位 public class Policy private
c
AutoMapper
Automapper、泛型、dto funtimes
这是交易 我有一个报告设计器 用户可以根据一些预定义的数据集创建报告 他们可以选择要包含在报告中的一组列 然后在运行报告时 通过使用自动映射器将 NHibernate 集合映射到 dto 类集合来创建 IList 这样做的问题是 DTO 集
c
generics
Reflection
AutoMapper
自动映射器 - 将对象与集合映射
使用自动映射器 我需要映射以下类的对象 public class RemoteClass public IEnumerable
c
AutoMapper
Automapper 可以忽略 void 方法吗?
我是 Automapper 的新手 所以我不确定这是否可行 我想映射一个类 但让它忽略无效的方法 下面是我的代码的说明 当我运行这个时 我收到以下异常消息 AutoMapper AutoMapperMappingException 类型的未
AutoMapper
AutoMapper 最佳实践 - 我是否应该向 DAO 询问信息以实现从 DTO 到域对象的映射?
c
AutoMapper
«
1
2
3
4
5
6
7
8
...12
»