Answer the question
In order to leave comments, you need to log in
How can I organize a robot with dao from the viewModel?
I need to populate the viewModel with a list of all the recipes that are in the database. How can I do this without breaking the three-layer architecture.
I mean how do I organize a connection with the database with a view for the user, for example, add a recipe and more.
wpf project, mvvm pattern
Answer the question
In order to leave comments, you need to log in
In these two articles on Habré, everything is described in detail:
Part 1
Part 2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question