CrabMan
CrabMan

Reputation: 1758

Can't generate code from EF Database First in ASP.NET 5 project

If I create a new console application, right click on the project and click Add -> New Item, I can select a lot of things including generation of tables code via EF Database First Items when using Console Application.

Now if I create a new ASP.NET 5 web application, there are no EF-related items: Add Item menu in ASP.NET 5 app

Why is that so? I need to generate some code via EF Database First in my ASP.NET 5 application, how can I do that?

Upvotes: 0

Views: 56

Answers (1)

techspider
techspider

Reputation: 3408

I believe you are missing Entity Framework package. ASP.Net 5 has different approaches to install packages

Try this tutorial

Upvotes: 1

Related Questions