Mvc 3 Scaffolding: the Model passed to the View throws SQL errror
问题 This post has been heavily edited and updated! The Intent: I am writing an app that is essentially a mini ASP.NET MVC 3 accounting package. I am doing it to learn EF 4.1 Code First and Scaffolding The Setup: I am using SQL Server 2008 Express, Visual Studio 2010 SP1 and ASP.NET MVC 3 with Mvc Scaffolding 1.0.2. I have an existing database. The database has the following tables: Accounts Banks CostCentres Currencies DebitCredits People Transactions TransactionTypes There are a number of