Limitations
On this page
Overview
On this page, you can find a list of Entity Framework and MongoDB features that the EF Core Provider does not support. Because the provider is in active development, some features listed on this page might be considered for future releases based on customer demand.
Unsupported Entity Framework Core Features
The following sections describe Entity Framework Core features that the EF Core Provider does not support.
Select Projections
Select projections use the Select()
method in a LINQ query to
change the structure of the created object. The projection changes the object by
performing groupings, or selecting fields into anonymous types or alternative
types not recognized by Entity Framework.
This version of the EF Core Provider does not support Select Projections.
Scalar Aggregations
Top-level scalar aggregations are operations you can perform on a query, such as
Count()
, Min()
, and Max()
. This version of the EF Core Provider
supports only the following scalar aggregation operations:
Count()
LongCount()
Any()
, with or without predicates
This version of the EF Core Provider does not support other scalar aggregation operations.
Migrations
Migrations in Entity Framework Core are designed for relational databases. Because MongoDB is a document database, migrations are not supported by the EF Core Provider.
Database-First Development
MongoDB is designed to be flexible and does not require a database schema. Because of MongoDB's schemaless design, database-first development is not supported in the EF Core Provider.
Foreign Keys
Because MongoDB is a document database, the EF Core Provider does not support foreign keys.
Alternate Keys
Because MongoDB is a document database, the EF Core Provider does not support alternate keys.
Table Splitting
MongoDB is a document database and does not have normalized tables. Because of this, table splitting is not supported by the EF Core Provider.
Temporal Tables
The EF Core Provider does not support temporal tables.
Spatial Data
The EF Core Provider does not support spatial data.
Unsupported MongoDB Features
The following sections describe MongoDB features that the EF Core Provider does not support.
Time Series
The EF Core Provider does not support time series data or time series collections. These are MongoDB-exclusive features that are not available in Entity Framework Core.
Atlas Search
The EF Core Provider does not support MongoDB Atlas search. Atlas Search is a MongoDB-exclusive feature with no similar feature available in Entity Framework Core.
Vector Search
The EF Core Provider does not support MongoDB Atlas Vector search. Atlas Vector Search is a MongoDB-exclusive feature with no similar feature available in Entity Framework Core.