Export (0) Print
Expand All

ADO.NET Entity Data Model Tools

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The Entity Data Model Tools are designed to help you build Entity Framework applications. With the Entity Data Model Tools you can create a conceptual model from an existing database and then graphically visualize and edit your conceptual model. Or, you can graphically create a conceptual model first, and then generate a database that supports your model. In either case, you can automatically update your model when the underlying database changes and automatically generate object-layer code for your application. Database generation and object-layer code generation are customizable.

The following list describes the specific tools that make up the Entity Data Model Tools:

  • The ADO.NET Entity Data Model Designer (Entity Designer) allows you to visually create and modify entities, associations, mappings, and inheritance relationships. The Entity Designer also generates C# or Visual Basic object-layer code.

  • The Entity Data Model Wizard allows you to generate a conceptual model from an existing database and adds database connection information to your application.

  • The Create Database Wizard allows you to create a conceptual model first and then create a database that supports the model.

  • The Update Model Wizard allows you to update your conceptual model, storage model, and mappings when changes have been made to the underlying database.

    Bb399249.note(en-us,VS.110).gifNote:
    Starting with Visual Studio 2010, the Entity Data Model Tools do not support SQL Server 2000.

The tools generate or modify an .edmx file, which contains information that describes the conceptual model, the storage model, and the mappings between them. For more information see .edmx File Overview.

There is also a command-line tool designed to help you build applications with the EDM: the EdmGen.exe tool. This tool can generate a conceptual model, validate an existing model, produce source code files that contain object classes based on the conceptual model, and produce source code files that contain views generated by the model. For detailed information about this command-line tool, see EDM Generator (EdmGen.exe).

In This Section

Entity Data Model Wizard
Provides an overview of the Entity Data Model Wizard and its components.

Entity Data Model Designer
Provides an overview of the ADO.NET Entity Data Model Designer and its components.

Update Model Wizard
Provides an overview of the Update Model Wizard.

Generate Database Wizard
Provides an overview of the Create Database Wizard.

Entity Framework Project & Database Project Integration
Contains topics that demonstrate how database projects integrate with Entity Framework projects.

Entity Data Model Tools Scenarios
Contains walkthrough topics that show how to use the ADO.NET Entity Data Model Designer in common application scenarios.

Tasks
Describes how to complete common tasks with the Entity Data Model tools.

Implementing Advanced Features
Provides background and step-by-step information for implementing advanced Entity Framework features.

Extending the Entity Data Model Tools
Provides information about extending the functionality of the Entity Data Model Tools.

See Also




Build Date: 2011-09-01
Show:
© 2014 Microsoft