Entity Data Model


Entity Data Model (EDM) is a set of concepts that describe data structure, regardless of its stored form. This model uses three key concepts to describe data structure: 1. Entity Type  2. Association Type and 3. Property.

EDM supports a set of primitive data types that define properties in a conceptual model. The three  basics of Entity Framework - Data Model are 1. Storage Schema Model 2. Conceptual Model and 3. Mapping Model

Storage Schema Model  

Storage Schema Model also called Storage Schema Definition Layer (SSDL) which represents the schematic representation of the backend data store.

Conceptual Model

Conceptual Model also called Conceptual Schema Definition Layer (CSDL) is the real entity model, against which we write queries.

Mapping Model

Mapping Layer is just a mapping between Conceptual model and Storage model.

The logical schema and its mapping with the physical schema is represented as an EDM.

    a) Visual Studio provides Entity Designer, for visual creation of the EDM and the mapping specification.
    b) The output of the tool is the XML file (*.edmx) specifying the schema and the mapping.
    c) Edmx file contains Entity Framework metadata artifacts.

Praesent mattis

Pellentesque viverra vulputate enim. Aliquam erat volutpat. Pellentesque tristique ante ut risus. Quisque dictum. Integer nisl risus, sagittis convallis, rutrum id, elementum congue, nibh. Suspendisse dictum porta lectus. Donec placerat odio vel elit.

Read More