Error when setting default value for child classes in TPH #6117
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Steps to reproduce
Create a default template project with the individual accounts authentication. Change the ApplicationDbContext class to be:
Run
Add-Migration initial
The issue
I get the following exception:
I would expect that since the default values are the same that this would be allowed. My current work around is to create an intermediate abstract class that has the property in it, but I would kind of prefer not do that in this situation. Is there another way to make the default values work in this situation?
Further technical details
EF Core version: 1.0.0
Operating system: Windows 10
Visual Studio version: VS 2015
The text was updated successfully, but these errors were encountered: