August 2012
Intermediate to advanced
490 pages
9h 14m
English
Next, we will be updating Northwind to allow us to view customer details.
We will view the details for one customer by opening a tab for each customer detail in the UI using the technique that we just covered. We will start things off by creating the ToolViewModel derived view model and its associated view (UserControl). We will then connect the pieces using a data template to map our view to our view model. To do this, perform the following steps:
IUIDataProvider interface to add the following method:Customer GetCustomer(string customerID);
UIDataProvider as follows:public class UIDataProvider : IUIDataProvider { private NorthwindEntities _northwindEntities = new NorthwindEntities(); ...Read now
Unlock full access