Hi everyone,
I had a problem creating the Details View from the code on page 48(pdf) with the following code (copied from that page). The error:
The type or namespace name, 'Objects' does not exist in the namespace 'System.Data'...
Code:
//
// GET: /Dinners/Details/2
public ActionResult Details(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (dinner == null)
return View("NotFound");
View("Details", dinner);
}
and could not fix the problem until I changed the classname 'Dinner' to the keyword 'var' like so:
Code:
var dinner = dinnerRepository.GetDinner(id);
I've looked over my Dinner.cs code and don't see any errors. Can anyone explain what happened there?

Thanks,
Bill