For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

MongoDB Entity Framework Core Provider

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.

Learn how to install the EF Core Provider, establish a connection to MongoDB Atlas, and begin working with data in the Get Started with the EF Core Provider tutorial.

Learn how to configure a connection to a MongoDB deployment in the Connect to MongoDB section.

Learn how to define entity classes and relationships for your application in the Model Your Data section.

Learn how to use the EF Core Provider to perform operations on MongoDB data in the Interact with Data section.

Learn about Entity Framework Core features that the EF Core Provider does not support in the Feature Limitations section.

For information about compatibility between the EF Core Provider, MongoDB Server, and Entity Framework Core, see the Compatibility page.

Learn how to report bugs, contribute to the EF Core Provider, and find more resources for receiving help in the Issues & Help section.