dotnet / dotnet/efcore

Support nullable complex types with all optional properties for table splitting

Open
#35,918 1 comment 1 reaction 0 assignees View on GitHub
area-complex-types area-query area-relational-mapping
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

If all of the properties are optional then we need to query all of the columns to which they are mapped to determine whether the complex property should contain null. If it contains a nested complex property this needs to be repeated recursively. If any of the columns are shared (another property is mapped to it) they need to be excluded from the above.

Split from #31376

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.