Entity Framework - SPLessons

Entity Framework Tutorial

Home > Lesson > Chapter 1
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

Entity Framework Tutorial

Entity Framework Tutorial

Entity Framework

shape Description

Entity Framework is an ORM tool. ORM means Object Relational Mapping. ORM tool automatically creates classes based on the database tables. ORM also generates the SQL for database tables.

Benefits of Entity Framework

shape Benefits

To know about the main usage of Entity Framework, see the below example. If wanted to display the combination of two tables as one table and if the normal method is followed instead of Entity Framework, then follow the below steps.
  • Create classes for two tables.
  • Write the ADO.Net Code to retrieve the data from the database.
  • After the data retrieve, create objects for the two tables with data.
Entity Framework does all these automatically. This tutorial helps to learn all about the Entity Framework.