Define consistent behaviors for FromSql and ToQuery methods used with complex mappings

Open
#21,888 0 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
database

Research direction

Start with the FromSql and ToQuery methods and review the linked backlog issues, including #21660, #21627, and #18616. Done means the expected behavior for complex mappings such as TPT and TPH is defined consistently across the listed cases.

Written by the indexing model from the issue text.

Description

area-model-building area-query area-relational-mapping composite-issue needs-design

This is a grouping of related issues. Feel free to vote (👍) for this issue to indicate that this is an area that you think we should spend time on, but consider also voting for individual issues for things you consider especially important.


For example, what shape is the query expected to return for entity types mapped in different ways, such as TPT vs TPH.

Done in 8.0
  • #10753
Backlog
  • #21660
  • #21627
  • #18616
  • #21781
  • #21826
  • #21827
  • #24157
  • #4976
  • #22498
  • #8127
  • #14525
  • #21433
Dominant language
C#
Stars
14.8k
Forks
3.4k
Avg merge
2d 5h
Merged PRs (30d)
134

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/efcore

All issues in dotnet/efcore

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.