dotnet / dotnet/efcore

Track optional entity splitting fragments using linking FKs

Open
#38,746 1 comment 0 reactions 0 assignees View on GitHub
area-relational-mapping
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

- [ ] Create linking FKs eagerly when configuring entity splitting (allowing non-identifying FKs(https://github.com/dotnet/efcore/issues/36251))
- [ ] Store optionality in table-specific `IsRequiredDependent` configuration for the linking FK
- [ ] Change the query code to use linking FKs instead of fragments

Contributor guide

Open the contributing guide

Research direction

Start by tracing entity-splitting configuration and the query code that currently uses fragments. Verify how linking foreign keys are configured, how table-specific optionality is stored, and whether queries use those linking FKs; the work is done when all three checklist items are implemented and optional entity-splitting fragments are tracked correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.