3 ms·
I was about to post the same thing. This works perfectly fine for EF Core, as long as you're aware that the mapping has to be directly in the Select like this s
by fabian2k 6y ago
I was about to post the same thing. This works perfectly fine for EF Core, as long as you're aware that the mapping has to be directly in the Select like this so that it can be translated to SQL.
- tester34 6y agoExactly, you just have to check how's your query evaluation process doing if you want to do fancy stuff that SQL may struggle with / don't understand