Entity Framework - SPLessons

Entity Framework Basics

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

Entity Framework Basics

Entity Framework Basics

shape Architecture

Entity Framework architecture contains different types of components as shown in the below figure.

Entity Data Model

shape Description

Entity Data Model contains 3 components.
  • Conceptual Model: Conceptual Model contains Model Classes and their Relationships.
  • Mapping: Mapping gives the information about the mapping between Conceptual Model and the Storage Model.
  • Storage Model: Storage Model includes tables, views, stored procedures and their keys.

LINQ to Entities

shape Description

LINQ to Entity means LINQ queries are used to generate entities. Entities are defined in the Conceptual Model.

Entity SQL

shape Description

Entity SQL is similar to LINQ to Entity. But Entity SQL is little bit difficult than Entity SQL.

Object Services

shape Description

Object Services is an entry point to access data from the database and return back. Object Service is responsible for converting data from Entity Client data Provider to Entity Object.

Entity Client Data Provider

shape Description

Entity Client Data Provider is responsible for converting LINQ to Entity or Entity SQL to SQL Queries.

ADO.NET Data Provider

shape Description

ADO.NET Data Provider is responsible for retrieving data from the database.