Can't create a view with navigation property #27854
Labels
area-model-building
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
regression
Servicing-approved
type-bug
Milestone
Since the upgrade to the EF Core 6, I can no longer create new views if they include navigation properties to entities. This is something that worked in EF Core 5, so I believe this is a regression.
Steps to reproduce
Entity
View
Entity configuration
View configuration
When I try to add a new migration (
dotnet ef migrations add test
) I get the following exception:Version information
EF Core version: 6.0.4
Database provider: Npgsql.EntityFrameworkCore.PostgreSQL
Target framework: .NET 6.0.4
Operating system: macOS 12.2.1
IDE: Rider
The text was updated successfully, but these errors were encountered: