-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model configuration: Properties not always lifted correctly when using derived classes #6814
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Comments
@rowanmiller Thanks for acknowledging this as a bug. Another likely incorrect exception that occurs upon feeding EF-Core my domain model is described in #6792. I've edited my comment there to include a context and model that reproduces the issue. Please note that both of these are blocking issues for me. |
AndriySvyryd
added a commit
that referenced
this issue
Oct 26, 2016
…e when setting base type. Properly discover base types when they are added to the model after the derived types. Improve the exception message for conflicting properties in the new base type. Don't duplicate unused inherited properties that are being removed when setting a new base type. They will be discovered by conventions if they should be on the entity type. Fixes #6814
AndriySvyryd
added a commit
that referenced
this issue
Oct 26, 2016
…e when setting base type. Properly discover base types when they are added to the model after the derived types. Improve the exception message for conflicting properties in the new base type. Don't duplicate unused inherited properties that are being removed when setting a new base type. They will be discovered by conventions if they should be on the entity type. Fixes #6814
AndriySvyryd
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Oct 26, 2016
Fixed in b689f18 |
smitpatel
pushed a commit
that referenced
this issue
Nov 8, 2016
…e when setting base type. Properly discover base types when they are added to the model after the derived types. Improve the exception message for conflicting properties in the new base type. Don't duplicate unused inherited properties that are being removed when setting a new base type. They will be discovered by conventions if they should be on the entity type. Fixes #6814
ajcvickers
changed the title
Exception says base and derived classes have same properties, but they don't
Model configuration: Properties not always lifted correctly when using derived classes
May 9, 2017
divega
added
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
and removed
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
labels
May 10, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
This issue can be reproduced by trying to create a database using this context and model:
The exception text says, "The type 'OT' cannot have base type 'P' because both types include the properties: ID, Stuff."
The text was updated successfully, but these errors were encountered: