python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Mapping records with AutoMapper's ProjectTo() throws exception
Here is a gist for reproducing the bug: https://gist.github.com/CollinAlpert/075d341fc0e24bb8f4eb8053983d93df
I have am trying to map EF Core queries to records using AutoMapper's ProjectTo method.
Ma...
Collin Alpert
Votes: 0
Answers: 0
Can I use type of domain layer entities in presentation layer?
Presentation layer call a method (CreateEvent) in my application layer. This method use generic parameters :
public async Task<string> CreateEvent<T, TDocument>(T @event)
where T : class
...
Julien Martin
Votes: 0
Answers: 2
Using group by in AutoMapper
Can we use group by in AutoMapper with C# and Entity Framework? Can you show an example please?
CreateMap<x, y>()
.ForMember(destination => destination.Id)
options...
tressert
Votes: 0
Answers: 1
Automapper. How to map custom type property of inner class (source) to string and string array?
I want to map source inner classes to string and in other case string array but in both cases they are mapped to null. I want MapNoteFromInnerSourceEntity1 to hold a value of InnerSourceEntity1 Id pro...
Luzanas
Votes: 0
Answers: 1