You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So for faster queries I need to embed the Hashtag in the Comment and in the Post (this is just an example, not a real use case), but the hashtag lives in it's own container.
I know this it's not possible in Ef Core due to I'll se an error like this: 'The type 'Hashtag' cannot be marked as owned because a non-owned entity type with the same name already exists.'
Any solution?
The text was updated successfully, but these errors were encountered:
Note for team: this is a case where it would be useful to be able to map the same CLR type as both an owned and a non-owned type. Complex types should not have this problem, which reduces the priority here somewhat.
How do I denormalize data in Ef Core with Azure cosmos db provider?
As shown in this documentation: https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/model-partition-example#v2-introducing-denormalization-to-optimize-read-queries
I need to denormalize an entity which also lives in another container:
So for faster queries I need to embed the Hashtag in the Comment and in the Post (this is just an example, not a real use case), but the hashtag lives in it's own container.
I know this it's not possible in Ef Core due to I'll se an error like this: 'The type 'Hashtag' cannot be marked as owned because a non-owned entity type with the same name already exists.'
Any solution?
The text was updated successfully, but these errors were encountered: