Skip to content

Avoid throwing relationship severed exceptions until DetectChanges is finished #30186

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from

Conversation

ajcvickers
Copy link
Contributor

Fixes #30122

Because the entities for which the relationship is being severed may end up being deleted later on in DetectChanges.

…inished

Fixes #30122

Because the entities for which the relationship is being severed may end up being deleted later on in SaveChanges.
@ajcvickers ajcvickers requested a review from a team January 31, 2023 20:00
@ajcvickers
Copy link
Contributor Author

Working on a better fix for this.

@ajcvickers ajcvickers closed this Feb 1, 2023
@ajcvickers ajcvickers deleted the Severence0130 branch February 3, 2023 13:11
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deletion can cause error "The association between entity types A and B has been severed..."
1 participant