tamil
tamil

Reputation: 118

entity framework 7 for visual studio code editor

I want to add the entity framework 7 to my asp.net core application in visual studio code editor. Can I add this using command prompt. If can anyone provide commands. Orelse Is there any other ways to do it??

Please advice. Thanks.

Upvotes: 1

Views: 1479

Answers (1)

Bassam Alugili
Bassam Alugili

Reputation: 17033

Visual Studio Code is an editor and not Visual Studio IDE as you know it, It doesn't install any packages.You have to install them manually.

Here is an tutorial:

https://docs.efproject.net/en/latest/platforms/aspnetcore/new-db.html

You can install the C# extension from the VS Code Marketplace:

ext install csharp

https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp


Installing Entity Framework for .Net Core

In .NET Core just add the project.json(with all required references) to your project and then call:

dotnet restore

Installing EntityFramwork for .Net Full(4.X)

You need Package Manager Console:

Install-Package EntityFramework

Upvotes: 2

Related Questions