Skip to content

Conversation

@AndriySvyryd
Copy link
Member

Fixes #37413

@AndriySvyryd AndriySvyryd requested a review from a team as a code owner December 22, 2025 22:52
Copilot AI review requested due to automatic review settings December 22, 2025 22:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the RelationshipConceptualNull exception message to provide better guidance to developers when they encounter issues with required relationships being severed. The enhancement adds information about the DeleteOrphansTiming option for scenarios where dependent entities are being moved to a different principal, along with a documentation link.

Key Changes:

  • Enhanced error messages to include guidance on context.ChangeTracker.DeleteOrphansTiming setting
  • Added documentation link to relationship management docs
  • Corrected test database name for consistency

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 5 comments.

File Description
src/EFCore/Properties/CoreStrings.resx Updated both RelationshipConceptualNull and RelationshipConceptualNullSensitive error message strings with additional guidance
src/EFCore/Properties/CoreStrings.Designer.cs Regenerated designer code reflecting the updated error messages from the .resx file
test/EFCore.SqlServer.FunctionalTests/GraphUpdates/GraphUpdatesSqlServerClientNoActionTest.cs Renamed test database from "GraphClientNoActionUpdatesTest" to "GraphUpdatesClientNoActionTest" for consistency
Files not reviewed (1)
  • src/EFCore/Properties/CoreStrings.Designer.cs: Language not supported

@AndriySvyryd AndriySvyryd merged commit 3cb5690 into main Dec 30, 2025
7 checks passed
@AndriySvyryd AndriySvyryd deleted the Issue37413 branch December 30, 2025 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve RelationshipConceptualNull message

3 participants