Testing concurrency with our own client
From an earlier
section, we know that with WCF Test Client we cannot test the
UpdateProduct method, nor can we test the concurrency support of the WCF service, because with WCF Test Client, we cannot update products. To test the concurrency support of the Entity Framework, we have to use our own test client.
Creating the test client
In this section, we will create a WinForm client to get the product details and update price for a product.
Follow these steps to create the test client:
- In the Solution Explorer, right-click on the solution item, and select Add | New Project….
- Select Visual C# | Windows Forms Application as the template and change the name to
LINQNorthwindClient. Click on the OK button to add the ...