automapper
How to make AutoMapper create an instance of class
I have the following source type: public class Source { public string FirstName { get; set; } public string LastName { get; set; }[详细]
2023-04-08 21:31 分类:问答Automapper: How to get source property name from PropertyMap
Ho开发者_如何学JAVAw do I get the name of the source property from the property map in this code:[详细]
2023-04-08 19:18 分类:问答ASP.net MVC - Should I use AutoMapper from ViewModel to Entity Framework entities?
I am currently using AutoMapper to map my Entity Framework entities to my View Model: public class ProductsController : Controller[详细]
2023-04-08 05:26 分类:问答Fluent Automapper issue with tag creation
POST EDITED - see edit below I have a query about the FLuent Automapping which is used as part of the SHarp Architecture.Running one of the tests cases will generate a schema which I can use to creat[详细]
2023-04-07 23:09 分类:问答AutoMapper Projection - date/time
I have a DateTime field in my Entity, which needs to map to 2 separate fields in the ViewModel for date and time i.e.[详细]
2023-04-07 14:02 分类:问答ASP.NET MVC : Automapper to merge class
I have this code : public class OrderModel { public List<Order> Orders { get; set; } } public class Order[详细]
2023-04-05 08:25 分类:问答Help optimize this linq statement
Please help me optimize this linq statement for performance. There are about 4000 drivers to go through and the page times out.[详细]
2023-04-05 01:39 分类:问答Automapper not behaving properly
I have this line of code in my global.asax Mapper.CreateMap<Order, OrderDTO>(); These are my classes:[详细]
2023-04-03 13:14 分类:问答AutoMapper catches and ignores NullReferenceException
Maybe this is by design, but we initially did not expect automapper to catch and ignore all NullReferenceExceptions in our mappings. We mostly use the MapFrom and create sometimes complex expressions.[详细]
2023-04-03 09:47 分类:问答Do we really need Automapper?
I was learning AutoMapper and understand its use for object to object mapping. But now EFCodeFirst,dapper and Petpoco all cools stuff are开发者_Python百科 there which will allow us to use our POCO dir[详细]
2023-04-02 06:16 分类:问答