HasOne relationship on Owned type not working as expected with Cosmos #15245
Labels
closed-out-of-scope
This is not something that will be fixed/implemented and the issue is closed.
customer-reported
punted-for-3.0
I have the one-to-many relationship configured between
Membership
(owned byActivity
entity) and entityUser
. When I select all activities I get back results where only the first activity's membership contains the instance of the user entity. For the rest of the results the users are set to null.However when I create all entities and query the activities within the same instance of the context I receive the expected results, i.e. all users are set for all memberships.
This is a snippet of how the relationship between
Membership
andUser
is configured:This is a snippet of how the activities are queried:
Please, check out the solution with the repro for the further details
(configured for the local emulator)
Further technical details
EF Core version: 3.0.0-preview3.19153.1
Database Provider: Microsoft.EntityFrameworkCore.Cosmos 3.0.0-preview3.19153.1
Operating system: Win 10
IDE: Visual Studio 2019 Preview 4.3
The text was updated successfully, but these errors were encountered: