Projection with Automapper
See original GitHub issueHi,
I was previously using the following LINQ query for a generic page list with automapper for all my entities:
var projection = queryable.OrderByPropertyOrField(orderBy, ascending).Skip(skipAmount).Take(pageSize).ProjectTo<TReturn>(Mapper.ConfigurationProvider);
Can I use the automapper projection with GetPagedList?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Projection
Projection transforms a source to a destination beyond flattening the object model. Without extra configuration, AutoMapper requires a flattened destination ...
Read more >c# - Projection with Automapper
Check out the AutoMapper.EF6 project, it uses another project, DelegateDecompiler, to build out projections based on the method and property ...
Read more >IncludeMembers and Custom Projections with AutoMapper
In this article, get ready to dive into custom projections with AutoMapper, using IncludeMembers and Value and Type Converters.
Read more >Entity Framework Query Projection using Auto Mapper
AutoMapper is a library that transforms an object into another type. AutoMapper will copy property values with the same name and data type ......
Read more >Simplify Your Projections with AutoMapper
The CreateMap call sets up a mapping between a source class and a destination class. AutoMapper has a number of built-in conventions to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, map config:
converter class:
@akinihsan do you have comments pls?