MongoDB Entity Framework Core Provider
Introduction
Welcome to the documentation site for the official MongoDB Entity Framework Core Provider.
You can add the EF Core Provider to your .NET application as an object-relational mapper (ORM) to work with data in MongoDB. You can use the provider to access and manipulate data from your application without explicitly running database commands. The EF Core Provider tracks any queries or data changes you make, and automatically runs them on the database by using the MongoDB Query API.
Use the EF Core Provider if you want to build a .NET application that uses Entity Framework Core with MongoDB.
Download the provider by using NuGet, or set up a runnable project by following our Quick Start guide.
Quick Start
Learn how to establish a connection to MongoDB Atlas and begin working with data in the Quick Start section.
Quick Reference
See driver syntax examples for common MongoDB commands in the Quick Reference section.
What's New
For a list of new features and changes in each version, see the What's New section.
Upgrade Provider Version
Learn what changes you might need to make to your application to upgrade the provider version in the Upgrade Provider Version section.
API Documentation
For detailed information about types and methods in the EF Core Provider, see the EF Core Provider API documentation.
Compatibility
The MongoDB Entity Framework Core Provider is compatible with the following the following versions of Entity Framework Core and .NET.
MongoDB Entity Framework Core Provider | Entity Framework Core Version | .NET Version | MongoDB Version |
---|---|---|---|
8.1.0 - 8.2.0 | 8.0 | 8.0 or later | 5.0 or later |