Projection not working correctly when using the EnumToStringConverter #15684
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
When making use of the EnumToStringConverter the projection of enum properties does not work correctly for DTO's. The following linq query creates an incorrect sql query.
It creates the query:
But this should be:
Below you can find a unit test to reproduce the issue.
Steps to reproduce
Run the unit test below to reproduce the problem.
###Exception
Further technical details
EF Core version: 2.2.4
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
SQL server: Microsoft SQL Express Server 2016 (SP1) - 13.0.4001.0
IDE: Visual Studio 2019 16.0.3)
The text was updated successfully, but these errors were encountered: