I noticed that this type of project does not support files edmx. What is the right way to develop a project in Asp.net 5 MVC 6 using Entity Framwork 7?
-
What version of EF are you using?user449689– user4496892015-11-24 10:04:28 +00:00Commented Nov 24, 2015 at 10:04
-
You should take a look at this link: msdn.microsoft.com/library/dd456815(v=vs.100).aspxAlexander Derck– Alexander Derck2015-11-24 10:06:20 +00:00Commented Nov 24, 2015 at 10:06
-
The link above speaks about "Model First" and use ADO.NET Entity Data Model Designer. I want to use "Data Base First" and MVC 6 seems not to support edmx files.Dallas– Dallas2015-11-24 10:11:42 +00:00Commented Nov 24, 2015 at 10:11
-
I use Entity Framework 7Dallas– Dallas2015-11-24 10:41:41 +00:00Commented Nov 24, 2015 at 10:41
2 Answers
Currently(as of EF 7, RC1) Database First support is still in development. More info on roadmap page here and on EF Design meeting notes here.
Since this is in development there are ways to try this and more info and tutorial on commands can be found at official documentation page here.
2 Comments
The problem is that EF7 kill EDMX. You now have Code First-style POCOs tied to an existing database, without an EDMX file in sight. The EF Power Tools Visual Studio extension can be installed to generate all of this directly from existing database.EF Power Tools Visual Studio extension actually doesn't support vs 2015