Friday, November 5, 2021

What is Entity Framework and How to add entity framework in Visual Studio.

Entity Framework is an Object/Relational Mapping (O/RM) framework. Entity Framework gives developers an automated mechanism for accessing & storing the data in the database. 


>Right click on your project

>Click on Add

>Click on Add new items

>Click on ADO.NET Entity Data Model

>Give the name of the model

>Click on ADD

>Click on code First from database

>Click on New Connections

>Click on change and Select Microsoft SQL Server

>Click on OK and fill the details o f database.

No comments:

Post a Comment