EntityFramework a learning Entity Framework architecture

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/u011966339/article/details/90204499

Entity Framework architecture

The EDM (the Entity the Data the Model) the EDM consists of three main components Conceptual model, Mapping and Storage model.

1. Conceptual is Model: conceptual model, comprising entity type and the relationship between them, apart from the separate database table design

2. the Storage the Model: storing model data tables, views, stored procedures, foreign key relationships

3. Mapping: mapping relationship includes mapping the conceptual model and storage model

4.  LINQ to Entities:  used to query object query language entity, it returns the entity defined in the conceptual model

5. the Entity SQL:  another query language similar to LINQ to Entities

6. The Object-Service:  is a major entry point data to access the database, materialized primarily responsible for converting the data entity client data provider to the entity object structure

7. the Entity Client the Data Provider:  The main language will be converted into the underlying Entity SQL database sql language, communication and ADO.Net data provider

8. The ADO.Net the Data Provider:  communicate with the database using standard ADO.Net

Guess you like

Origin blog.csdn.net/u011966339/article/details/90204499