Docs Menu
Docs Home
/ /

MongoDB Entity Framework Core Provider

Welcome to the documentation site for the official MongoDB Entity Framework Core Provider.

You can add the Entity Framework 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 Entity Framework 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 MongoDB Entity Framework 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.

Learn how to establish a connection to MongoDB Atlas and begin working with data in the Quick Start section.

See driver syntax examples for common MongoDB commands in the Quick Reference section.

For detailed information about types and methods in the Entity Framework Core Provider, see the Entity Framework Core Provider API documentation.

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.0
8.0
8.0 or later
3.6 or later
Quick Start →