130 likes | 341 Views
Entity Framework Overview. Entity Framework. A set of technologies in ADO.NET that support the development of data-oriented software applications A component of the .NET Framework starting with version 3.5
E N D
Entity Framework • A set of technologies in ADO.NET that support the development of data-oriented software applications • A component of the .NET Framework starting with version 3.5 • Enables developers to work with data in the form of domain-specific objects and properties rather than data represented in relational database form
Application Parts • Domain (Conceptual) model • defines the entities and relationships in the system that is being modeled • Logical (Storage) model • normalizes the entities and relationships into tables with foreign key constraints • Physical model • addresses the capabilities of a particular data engine by specifying storage details such as partitioning and indexing.
Entity Framework • The Entity Framework creates the mapping between the conceptual model (objects) and the storage model (data) • expressed in XML-based schemas and defined in files that have corresponding name extensions • Conceptual schema definition language (CSDL) defines the conceptual model. • Store schema definition language (SSDL) defines the storage model • Mapping specification language (MSL) defines the mappings between the storage and conceptual models.
Accessing and Changing Entity Data • The Entity Framework provides the following ways to query a conceptual model and return objects: • LINQ to Entities • Query syntax • Method syntax