Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 05, 2011 09:22 PM by pghatak
Jun 01, 2011 01:02 AM|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 05:17 AM|LINK
I think MVCScaffolding only works with EntityFramework 4.1.
Have a look at this video:
Jul 05, 2011 09:22 PM|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: