读书笔记之ado.net entity framework

提供了对数据访问的一种抽象层,是更加易于以编程的方式来操作及管理数据

有以下几种模式:Model First, Database First, and Code First

现在主要讨论code First这种模式

Conceptual Schema Defi nition Language (CSDL), the Storage Schema Defi nition Language (SSDL), and the
Mapping Schema Language (MSL)提供了实体类和数据库之间的映射

ADO.NET Entity Framework提供了关系数据库架构到实体类之间的一种映射

The ADO.NET Entity Framework支持直接定义完全独立于数据库的实体类,然后映射到相应的表,并和数据库相关联

ENTITY FRAMEWORK MAPPING

The layers that need to be defined are as follows:

Logical — Defines the relational data.

Conceptual — Defines the .NET entity classes.

Mapping — Defines the mapping from .NET classes to relational tables and associations.

原文地址:https://www.cnblogs.com/tianmochou/p/5061170.html