Entity Framework Architecture - Microsoft Entity Framework

What is Entity Framework Architecture?

The architecture of Entity Framework, from the bottom up, contains of the behind −

Data Providers

These are source detailed providers, which abstract the ADO.NET borders to join to the database when software designs in contradiction of the conceptual schema.
It translates the common SQL languages such as LINQ via understanding tree to native SQL communication and performs it against the specific DBMS system.

Entity Client

This layer representations the entity layer to the high layer. Entity client offers the ability for developers to work against entities in the form of rows and columns using entity SQL queries without the need to make classes to denote conceptual schema. Entity Client shows the entity framework layers, which are the core functionality. These layers are called as Entity Data Model.


entity_data_model

  • The Storage Layer holds the entire database schema in XML format.
  • The Entity Layer which is also an XML file states the entities and relationships.
  • The Mapping layer is an XML file that maps the entities and relationships defined at conceptual layer with actual relationships and tables defined at logical layer.
  • The Metadata service which is also signified in Entity Client offers centralized API to access metadata kept Entity, Mapping and Storage layers.

Object Service

Object Services layer is the Object Framework, which denotes the session of interaction between the presentations and the data source.

  • The main use of the Object Context is to perform different operations like add; delete instances of entities and to save the changed state back to the database with the help of queries.
  • It is the ORM layer of Entity Framework, which represents the data result to the object instances of entities.
  • This service agree developer to use some of the rich ORM features like primary key mapping, change tracking, etc. by writing queries using LINQ and Entity SQL.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Microsoft Entity Framework Topics