Introduction to Entity Framework - Entity Framework Tutorial

What is Entity Framework?

Entity Framework is an object relational mapping which allows developers to work with relational databases. Entity Framework is an open source framework.

What is ORM?

Before starting with Entity Framework lets know about ORM. ORM stands for Object Relational Mapping. ORM creates classes based on tables which are in databases and vice versa.

So, Entity Framework is an Object Relational Mapping where we can create classes for our database objects like a table which is done automatically.

Below diagram shows an overview of Entity Framework.

Entity framework tutorial


How to start with Entity Framework?

Open Visual Studio 2015 (or any version which you have).
Follow below steps to add Entity Framework Model.
I am using Database first approach here, I will explain what is database approach in my coming blog.

Entity framework

Entity framework

Entity framework

Entity framework

Entity framework


Entity framework

Entity framework




Comments

Popular

C# 6.0 New Features

SharePoint Interview Questions and Answers

Calling ASP.Net WebMethod using jQuery AJAX

What is Cloud Computing - A guide for beginners