Learning Entity Framework (Day 4): Understanding Entity Framework Core and Code First Migrations in EF Core


Introduction

In the previous articles (data access approachcode first approach, and WebAPI) we learned a lot about the Entity Framework and its practical implementations. The intent of this article is to explain the concept of Entity Framework core. We’ll go step by step to explore the topic of Entity Framework core. We’ll explore the code first approach using EF Core and learn about data annotations as well. We’ll also cover code first migrations in this article along with an understanding of how to seed the database. I’ll use Visual Studio 2017 for the tutorial. For the database, we would be using SQL Server. You can make use of local dB if you do not have SQL server installed.

Continue reading “Learning Entity Framework (Day 4): Understanding Entity Framework Core and Code First Migrations in EF Core”
Advertisements