Entity Data Model Tools in Visual Studio

 

Entity Framework is an object-relational mapping technology that enables .NET developers to work with relational data by using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write. Entity Framework is the recommended object-relational mapping (ORM) modeling technology for new .NET applications.

As of March 2016, the most current released version is Entity Framework 6 . Entity Framework 7 is in pre-release.

Entity Data Model Tools are designed to help you build Entity Framework applications. The complete documentation for Entity Data Model Tools is here: Entity Framework.

With 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.

These are the specific tools that make up Entity Data Model Tools in Visual Studio 2015:

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

  • You can use the Entity Data Model Wizard to generate a conceptual model from an existing database and add database connection information to your application.

  • You can use the Create Database Wizard to create a conceptual model first and then create a database that supports the model.

  • You can use the Update Model Wizard to update your conceptual model, storage model, and mappings when changes have been made to the underlying database.

    System_CAPS_ICON_note.jpg Note

    Starting with Visual Studio 2010, Entity Data Model Tools do not support SQL Server 2000.

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

Entity Framework Power Tools help you build applications that use the Entity Data Model. The tools 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 that the model generates. For detailed information, see Pre-Generated Mapping Views.

TitleDescription
ADO.NET Entity FrameworkDescribes how to use Entity Data Model Tools, which Entity Framework provides, to create applications.
Entity Data ModelProvides links and information for working with data that is used by applications built on Entity Framework.
Getting Started on Full .NET (Console, WinForms, WPF, etc.)Provides tutorials on how to create .NET desktop applications that use Entity Framework 7.
ASP.NET 5 Application to New DatabaseDescribes how to create a new ASP.NET 5 application by using Entity Framework 7.

Visual Studio data tools for .NET

Show: