The intent of this article is to explain the three data access approaches that Microsoft’s Entity Framework provides. There are several good articles on the internet on this topic, but I would like to cover this topic in the more detailed way and in the form of a tutorial that would be a primer for someone who is starting to learn entity framework and its approaches. We’ll go step by step to explore each approach via which we can access database and data using entity framework in our application. I’ll use Entity Framework version 6.2 and .Net framework 4.6. and 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. I’ll explain database first and model first approach in this article and code first approach and code first migrations in the following article.
source https://www.c-sharpcorner.com/article/learning-entity-framework-data-access-approaches-of-entity-framework-in-net/
No comments:
Post a Comment