Is it possible to update the entity data modal with the database through Vb.NET or C# code.
-
Your question title & detail conflict - Your asking if you can update the database schema via the EF and then asking is it possible to update the data model with the database. Which is it you need to know?James– James2011-11-17 11:20:14 +00:00Commented Nov 17, 2011 at 11:20
-
This is very poor and ambiguous question.Ladislav Mrnka– Ladislav Mrnka2011-11-17 14:56:55 +00:00Commented Nov 17, 2011 at 14:56
Add a comment
|
2 Answers
Please consider EF Code First
Please see this walkthrough to get a kick start: http://weblogs.asp.net/scottgu/archive/2011/05/05/ef-code-first-and-data-scaffolding-with-the-asp-net-mvc-3-tools-update.aspx
Comments
Updating database schema using Code First unfortunately not supported. as per my knowledge. i was in a same situation once, this blog may help you
and of course this