What is Entity Framework in ASP.NET Core?

 
Written by Mark Pringle |
Published on:

Entity Framework (EF) is an Object Relational Mapping (ORM, O/RM, and O/R mapping) framework. This framework automatically creates relationships and converts data between a relational database like Microsoft SQL Server and an object-oriented programming language like ASP.NET C#.

MSSQL and C# usually are two incompatible types of systems that do not easily “talk” to each other. However, Entity Framework is a mediator and facilitator between these two systems. This object-relational mapping framework can create classes based on database tables. Conversely, it can create database tables based on the classes or models you make. Through Scaffolding EF can automatically generate the SQL queries necessary to create, read, update, list, or delete rows from your database.

Suppose you have created a database table on which you want to perform CRUD operations. In that case, you can have EF automatically create the classes, code for managing that data, and views by providing Entity Framework with the database schema through reverse engineering.

See Reverse Engineering

Copyright © TravelDailyLife.com

Author: Mark Pringle
I'm just a guy who is addicted to the unfamiliar and who fulfills this addiction by traveling and writing about my travels. As a lover of sports, penning opinion articles related to sports is also a pastime.
My External Website (External Website Opens in New Window)

Comments

Please Login to Comment
No comments have been posted. Be the first.



Hire a Writer