1.

What are the main components of Entity Framework Architecture?

Answer»

Entity Framework Architecture consists of the following components:

  • Entity Data Model (EDM): EDMs abstract logical or relational schema and expose conceptual schema of data with a three-layered model, i.e., Conceptual (C-Space), Mapping (C-S Space), and Storage (S - Space).
  • LINQ to Entities (L2E): L2E is basically a query language generally USED to write queries against the object model. The entities defined in the conceptual model are returned by L2E.
  • Entity SQL (E-SQL): Similar to L2E, E-SQL is another query language (for EF6 only). The developer must however learn it separately since it is more difficult than L2E. Internally, E-SQL queries are translated or converted to data store-dependent SQL queries. EF is used for converting E-SQL queries to their respective datastore queries, such as T-SQL.
  • Entity Client Data Provider: This LAYER's main task is to convert E-SQL or L2E queries into SQL queries that the database understands. In turn, the ADO.Net data provider sends and retrieves data from the database.
  • Net Data Provider: It uses standard ADO.NET to enable interaction with the database.
  • Object Service: It is a service that facilitates access to a database, and returns data for ANALYSIS when necessary. By using it, you are able to translate data coming from entity clients into entity object STRUCTURES.


Discussion

No Comment Found