Creating the WPF Project
This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.
In this step you will create and set up a WPF Application containing two windows, those will be the Views in your project. One will be the main window and will be used to display, filter and delete cars from the database. The other will be called from the main window and will allow you to edit existing cars or add new ones.
Preoparing the project:
- Add to your solution a new WPF Application project and name it SofiaCarRental.WPF
Copy the app.config file from the model SofiaCarRental.Model to the wpf project SofiaCarRental.WPF.
Add the following references to your wpf project:
- Add two new folders in your project, name them Views and ViewModels. In the Views folder add another one named ViewInterfaces.