Next, we will modify the data access layer to use LINQ to Entities to retrieve and update products. We will first create
GetProduct to retrieve a product from the database and then create
UpdateProduct to update a product in the database.
Now that we have the BDO project in the solution, we need to modify the data access layer project to reference it.
We can now create the
GetProduct method in the data ...