Skip to content

farhan1386/EntityFrameworkCoreMvcCore_Demo

Repository files navigation

Install Entity Framework Core With Empty Template In ASP.NET MVC Core 3.0

Introduction

This will explain how to install entity framework core in your ASP.NET MVC core 3.0 application with an empty template. Entity Framework Core, also called EF Core, is a complete rewrite from the ground up. If you have any experience with previous versions of Entity Framework, you will find lot of familiar features.

What is Entity Framework core?

EF Core is an ORM (Object-Relational Mapper). EF core is lightweight, extensible, and open source software. Like .NET Core, EF Core is also cross platform. It works on windows, Mac OS, and Linux. EF core is Microsoft’s official data access platform.

What is ORM?

ORM stands for Object-Relational Mapper and it enables developers to work with a database using business objects. As a developer we work with the application business objects and the ORM generates the SQL that the underlying database understands. In-short, an ORM eliminates the need for most of the data-access code that developers usually need to write

Entity Framework Core Code First Approach

EF Core supports both Code First approach and Database First approach. However, with the Database First approach there is very limited support in EF core at the moment.

How to install Entity Framework in ASP.NET MVC Core

Install following from Nuget Package Manager.

Microsoft.EntityFrameworkCore Microsoft.EntityFrameworkCore.SqlServer Microsoft.EntityFrameworkCore.Relational Microsoft.EntityFrameworkCore.Tools

For more information step by step process click below link

https://www.c-sharpcorner.com/article/install-entity-framework-core-with-empty-template-in-asp-net-mvc-core-3-0/

About

How to install Entity Framework in ASP.NET MVC Core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages