automapper
Where to place AutoMapper.CreateMaps?
I\'m using AutoMapper in an ASP.NET MVC application. I was told that I should move the AutoMapper.CreateMap elsewhere as they have a lot of overhead. I\'m not too sure how to design my application to[详细]
2023-03-23 09:31 分类:问答AutoMapper Mapping fields to Class
I\'m trying to accomplish the following. I have a DTO that returns values from the database and I\'d like to map the DTO to a Model.My model has a property that has a class type.I\'d like to set that[详细]
2023-03-22 03:25 分类:问答AutoMapper: Mapping a collection of Object to a collection of strings
I need help with a special mapping with AutoMapper. I want to map a collection of objects to a collection of strings.[详细]
2023-03-21 22:01 分类:问答Differents mode of mapping using AutoMapper
I\'m using AutoMapper to mapping my Entity Framework POCO objects and ViewModels. Question 1: What\'s difference in mapping using that:[详细]
2023-03-21 15:12 分类:问答ASP.NET MVC display class content with a dropdown
In my NHIbernate (Database Model) I have this : public class Pers { public int Id{ get; set ;} public string FirstName{ get; set ;}[详细]
2023-03-20 20:50 分类:问答MVC 3: AutoMapper and Project/Solution Structure
I\'ve just started to use AutoMapper in my MVC 3 project and I\'m wondering how people here structure their projects when using it.I\'ve created a MapMan开发者_运维技巧ager which simply has a SetupMap[详细]
2023-03-20 05:01 分类:问答How to make automapper ignore underscore?
I\'m using automapper v1.1. On my DB side, I have fields like this: manufacturer_id, manufacturer_name, ...[详细]
2023-03-20 01:13 分类:问答A better way to use AutoMapper to flatten nested objects?
I have been flattening domain objects into DTOs as shown in the example below: public class Root { public string AParentProperty { get; set; }[详细]
2023-03-18 10:28 分类:问答Help understanding the basics of AutoMapper
So I have this two classes: public class PhysicalTest { public int ID { get; set; } public DateTime CreationDate { get; set; }[详细]
2023-03-17 22:13 分类:问答WCF PerSession service and AutoMapper
where should I put the code for configuring AutoMapper mapping between DTO and EntityFramework Entities for WCF PerSession services?[详细]
2023-03-17 16:10 分类:问答