I am following this course on integrating an MVVM architecture with an WPF app, but using code first. For my own app I am using database first, with only a few tables.
This is my project structure, with the 3 layers, Model-View-ViewModel. In the course he creates two model classes, of course using code first in the model project, while the Data Access project handles migrations and the DbContext.
Now, when I use Database First, EF creates all the model classes for me, but the database context is included as well. My edmx is structured like this:
My question is what I need to place in which project? I'm aware that I have my view models in the UI project, which then use a data service to create a new context, but it seems I can do this all in the UI project.

