Map multiple entities to same table
I should be able to map multiple models to the same table. For example consider a User table. I may have a model for logging in, changing a password, resetting a password and maintaining a user. I would normally create different domain models for each of these use cases. However, I am not able to map these models to a single table.
Here is a link with a workaround by MSFT, but would like to avoid workaround...
I made a mistake with this. We now have model validation that prevents this from working in EF Core. So reverting the “completed” status.
Valeriano, it is actually not possible. Since I checked last time, we added model validation that prevents this from working. Thanks a lot for bringing this up to my attention.
Valeriano Tortola commented
Hi Diego, can you provide any documentation or example bout how to do this? Many thanks.