Entity Framework Documentation

  • Entity Framework
      • Entity Framework is an object-relational mapper (O/RM) that enables .NET developers to work with a database using .NET objects. It eliminates the need for most of the data-access code that developers usually need to write.

      • Entity Framework Core

        EF Core is a lightweight, extensible, and cross-platform version of Entity Framework.

      • Entity Framework 6

        EF 6 is a tried and tested data access technology with many years of features and stabilization.

      • Choosing

        Find out which version of EF is right for you.

      • Port to EF Core

        Guidance on porting an existing EF 6 application to EF Core.

  • EF Core
    • all
      • EF Core is a lightweight, extensible, and cross-platform version of Entity Framework.

      • Get Started

        Overview

        Create a Model

        Query Data

        Save Data

      • Tutorials

        .NET Framework

        .NET Core

        ASP.NET Core

        UWP

        more…

      • Database providers

        SQL Server

        MySQL

        PostgreSQL

        SQLite

        more…

      • ⤤ API Reference

        DbContext

        DbSet<TEntity>

        more…

  • EF 6
      • EF 6 is a tried and tested data access technology with many years of features and stabilization.

      • Get Started

        Learn how to access data with Entity Framework 6.

      • ⤤ API Reference

        Browse the Entity Framework 6 API, organized by namespace.

  • Previous Version Docs
  • Blog
  • Contribute
  • Privacy & Cookies
  • Terms of Use
  • Site feedback
  • Trademarks
  • Previous Version Docs
  • Blog
  • Contribute
  • Privacy & Cookies
  • Terms of Use
  • Site feedback
  • Trademarks