One-to-one relationship with navigation properties on both ends throws StackOverflowException #3806
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Windows 10, VS 2015, IIS Express, SQL Server Express 2014, EF 7.0.0-rc1-final, ASP.NET 6.0.0-rc1-final
After upgrading to RC1, I am seeing a StackOverflowException with the following one-to-one relationship setup. This setup was working fine in beta8.
Models:
FK setup:
The FK setup line throws
StackOverflowException
after upgrading to RC1 (but not in beta8).The
StackOverflowException
is not thrown if I remove the navigation propertypublic virtual Blog Blog {get; set;}
fromBlogMetadata
.The text was updated successfully, but these errors were encountered: