0 votes
in IONIC by
Explain about the Architecture of Entity Framework with its components

1 Answer

0 votes
by
Below is the Architecture or Entity Framework details components


EF Architecture
EDM (Entity Data Model):- EDM mainly consists of three mainparts
(1)Conceptual Model
(2)Storage Model
(3)Mapping
(1)Conceptual Model:- This model contains the model classes and their relationships. This will be independent from database table design.
(2)Storage Model:-This model is databas design model which have tables, viws, stored procedures and their relationships and keys.
(3)Mapping:-This contains infromation about how the concptual model is mapped to storage model.
Now we will cover different other topics of Entity framework model
(1)LINQ to Entities
(2)Entity SQL
(3)Object Service
(4)Entity Client Data Provider
(5)ADO.NET Data Provider
(1)LINQ to Entities(L2E):- It is a query language which is used to write query against the object model. This return entities which defined in the conceptual model.
(2)Entity SQL:-It is also a query language which is only used for EF 6. But is is little more difficult then L2E. And devloper need to learn it separately.
(3)Object Service:-It is main point for accessing data and return of data back to database. It alos included in process of converting data returned from an entity client data provider to and entity object structure which is also called materialization.
(4)Entity Client Data Provider:- Its communicate with ADO.NET data provider whihc helps in sending and returning data from database. ANd other main work of this is to convert L2E or Entity SQL queries into SQl query so that is understand by the database.
(5)ADO.NET Data Provider:-This layer communicates with database using Standard ADO.NET.

Related questions

0 votes
asked Aug 25, 2022 in Apache Spark by sharadyadav1986
0 votes
asked Jul 23, 2020 in IONIC by Hodge
...