---
title: "Describe architecture for entity framework?"  
description: "Describe architecture for entity framework?"  
author: "Pedro Araez"  
published: 2020-01-29  
updated: 2020-01-29  
canonical: https://www.mindstick.com/forum/155758/describe-architecture-for-entity-framework  
category: "ado.net"  
tags: ["ado.net"]  
reading_time: 2 minutes  

---

# Describe architecture for entity framework?

[Please explain](https://www.mindstick.com/forum/344/hi-rohith-i-am-new-for-mvc-please-explain-how-to-set-implicitly-isauthenticated-true) me about the [basic](https://www.mindstick.com/forum/161830/what-are-the-security-risks-of-using-basic-authentication) [architecture](https://www.mindstick.com/articles/249193/top-5-reasons-to-pursue-architecture) for the [entity framework](https://www.mindstick.com/articles/1566/crud-operations-using-entity-framework-code-first-approach) in [ado.net](https://www.mindstick.com/articles/804/connection-pooling-in-ado-dot-net) with suitable picture.

## Replies

### Reply by Nishi Tiwari

**[Entity](https://www.mindstick.com/forum/160562/database-connectivity-using-entity-framework-database-first-approach) [Framework](https://www.mindstick.com/forum/34615/software-framework-vs-library) Architecture**

The following image shows the architecture of the Entity Framework.

![Describe architecture for entity framework?](https://www.mindstick.com/mindstickforums/f921e7f3-50b3-4c38-9432-41ab993038f6/images/2b07eaae-9c77-44bd-b160-33695b23c595.png)

Let's now look at the components of the architecture individually.

**EDM (Entity Data Model)**: Entity Data Model that is EDM consists of three main parts - Conceptual model, Mapping and Storage model.

**Conceptual Model**: The **[conceptual model](https://www.mindstick.com/forum/155757/describe-basic-workflow-for-entity-framework)** contains the model classes and their relationships which is independent from our database table design.

**Storage Model:** The storage model is the database design model which mainly includes tables, views, stored procedures, and their relationships and keys.

**Mapping:** Mapping consists of all information about how the conceptual model is mapped into the storage model.

**LINQ to Entities:** LINQ-to-Entities (L2E) is defined as a query language which is used to write queries against the object model. It returns entities, that are defined in the conceptual model. We can use our LINQ skills here also.

**Entity SQL:** Entity SQL is an another query language for EF 6 only just like LINQ to Entities. However, it is a little more difficult than L2E and we that is developer will have to learn it separately.

**Object Service:** Object service is the main entry point for accessing data from the database and returning it to back. Object service is also responsible for materialization, which is the process for converting data returned from an entity client data provider (next layer) to an entity object structure.

**Entity Client Data Provider:** The main responsibility for this layer is to convert LINQ-to-Entities or Entity SQL queries into a SQL query which is easily understood by the underlying database. It is used to communicate with the ADO.Net data provider which in turn sends or retrieves data from the database.

**ADO.Net Data Provider:** This layer also communicates with the database using standard ADO.Net.


---

Original Source: https://www.mindstick.com/forum/155758/describe-architecture-for-entity-framework

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
