Skip to content
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

[release/7.0] Handle entity paths with no tables in model differ #30394

Merged
merged 2 commits into from
Mar 7, 2023

Conversation

ajcvickers
Copy link
Member

Port of #30347
Fixes #30321

Description

With TPC mapping (new feature in EF7), abstract types are not mapped to any table. This case was not being handled correctly in the model differ.

Customer impact

"Sequence contains no elements" exception when attempting to generate a migration for simple changes in abstract types. No workaround.

How found

Customer reported on 7.0.

Regression

No; bug in new feature.

Testing

Tests updated.

Risk

Low and quirked.

@ajcvickers ajcvickers requested a review from a team March 3, 2023 11:33
@ajcvickers ajcvickers added this to the 7.0.x milestone Mar 3, 2023
@rbhanda rbhanda modified the milestones: 7.0.x, 7.0.5 Mar 7, 2023
@wtgodbe wtgodbe merged commit 2013b79 into release/7.0 Mar 7, 2023
@wtgodbe wtgodbe deleted the SayMyName0303 branch March 7, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants