Denis
MVVM should model items have INotify?
I can say that there's nothing wrong in making a model observable.
The viewmodel must inherently be observable, but it also contains business logic, commands and so on.
A model; however, should just represent data.
So, no business logic, no commands, no methods (apart from equality, cloning, etc.). This doesn't mean you can't make the model observable. Otherwise you'd be forced write a ton of unnecessary viewmodels that'd shadow your models, only to add observability.
In some cases this is a valid approach. E.g., a validated form for creating a record in the db
10 replies
EF Core 1-1 relationship with automatic discriminator
I believe I've solved this problem at some point. I'll check it out asap. If I don't in the next 3 hours, dm or ping me.
Worst case scenario you design this database using Oracle DB SQL Developer, deploy it, and then reverse engineering using EF Core
20 replies