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
I have a need to remap a bunch of fields into an owned entity. Some of the fields have multiple indexes on them.
With EntityTypeBuilder it works like a charm after implementation of #21089.
But I found out that OwnedNavigationBuilder lacks HasIndex method overload with name argument, tho they're using the same InternalEntityTypeBuilder under the hood.
This leads to the same problem that latest index overrides every index before it.
I looked through PR: #21115 and didn't find any mentions of owned entities.
I wonder if there's any reason it was not implemented or just forgotten about?
If it duplicates already existing question, please point to it, I wasn't able to find anything related on my own
Hello everyone!
I have a need to remap a bunch of fields into an owned entity. Some of the fields have multiple indexes on them.
With EntityTypeBuilder it works like a charm after implementation of #21089.
But I found out that OwnedNavigationBuilder lacks HasIndex method overload with name argument, tho they're using the same InternalEntityTypeBuilder under the hood.
This leads to the same problem that latest index overrides every index before it.
I looked through PR: #21115 and didn't find any mentions of owned entities.
I wonder if there's any reason it was not implemented or just forgotten about?
If it duplicates already existing question, please point to it, I wasn't able to find anything related on my own
EF Core version: 8.0.2
Database provider: Npgsql 8.0.2
Target framework: .NET 8.0
The text was updated successfully, but these errors were encountered: