Last post Jul 05, 2011 10:22 PM by pghatak
Jun 01, 2011 02:02 AM|RJL4433|LINK
Trying to use Mvc 3 Scaffolding on ADO.NET Entity Data Model with existing database. I executed "Scaffold Controller Album" and the controller and view were generated with no errors, and it compiles with no errors or warnings. I errors when run in debug
from VS with the following :
The generated entity inherits from EntityObject. How am I supposed to generate entities from existing db that are compatible with MvcScaffolding?
VS2010 SP1, MVC3 Tools Update
Thanks for input.
Jun 01, 2011 06:17 AM|raduenuca|LINK
I think MVCScaffolding only works with EntityFramework 4.1.
Have a look at this video:
Jul 05, 2011 10:22 PM|pghatak|LINK
I've faced simiar problems, and have managed to solve the issue. This is actually an EF problem, and nothing to do with Scaffolding.
You'd find the solution to this, on my blog here: