Friday, November 16, 2018

Understanding Entity Framework Core And Code First Migrations in EF Core

In the previous articles (data access approach, code first approach and WebAPI) we learnt a lot about 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 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.

source https://www.c-sharpcorner.com/article/understanding-entity-framework-core-and-code-first-migrations-in-ef-core/

No comments:

Post a Comment