1

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?

4
  • What version of EF are you using? Commented Nov 24, 2015 at 10:04
  • You should take a look at this link: msdn.microsoft.com/library/dd456815(v=vs.100).aspx Commented 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. Commented Nov 24, 2015 at 10:11
  • I use Entity Framework 7 Commented Nov 24, 2015 at 10:41

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you. Using EF6 is the same. It seems to have no support in MVC 6 for edmx technology
For EF6 Database First to work u have to use latest tooling inside Visual Studio. You can check here. To work with Database First in EF7 you don't need VS, only dnx - on any platform.
0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.