Selecting IEnumerable navigation property with backing field results in ArgumentException #21803
Labels
area-query
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
I've configured my entity with a navigation property that's of type
IEnumerable<T>
that has a backing field of typeList<T>
. When creating a query thatSelect
's this (IEnumerable) navigation property I receive the following exception:Steps to reproduce
Run the following example:
csproj:
Further technical details
EF Core version: (via Microsoft.EntityFrameworkCore.SqlServer)
Database provider: Microsoft.EntityFrameworkCore.SqlServer 3.1.6 & 5.0.0-preview.7.20365.15
Target framework: netcoreapp3.1
Operating system: Win 10 (2004)
IDE: VS 16.6.3
The text was updated successfully, but these errors were encountered: