In this part of the series synchronous operations for reading and saving are shown.
Added conventional SqlDataReader code which is commented out yet works for view only, no CRUD actions have been coded.
Added logic for updating the current row in the DataGrid using OnRowEditEnding event.
WPF Apps With The Model-View-ViewModel Design Pattern
- Run script.sql from SSMS (SQL-Server Management Studio) or insides of Visual Studio.
- Restored NuGet packages from Solution Explorer
- Build and run the project.
Part 1 Microsoft TechNet article: WPF/Entity Framework Core primer (C#)
Part 2 Microsoft TechNet article: WPF/EF Core simple data validation (C#)