Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update on EFCore limitations #2246

Closed
balukantu opened this issue Apr 3, 2020 — with docs.microsoft.com · 1 comment
Closed

Update on EFCore limitations #2246

balukantu opened this issue Apr 3, 2020 — with docs.microsoft.com · 1 comment

Comments

Copy link

balukantu commented Apr 3, 2020

As per the documentation, below are the temporary limitations on EFCore.

  1. Even if there is only one entity type without inheritance mapped to a container it still has a discriminator property.
  2. Entity types with partition keys don't work correctly in some scenarios
  3. Include calls are not supported
  4. Join calls are not supported

I would like to know the update/ fix on those temporary limitations.

Apart from the above limitations, Does EFCore is supporting transactions that the client has initiated like EntityFramework?

Also, Is there any list of scenarios that don't work properly if Entities has partition?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@AndriySvyryd
Copy link
Member

AndriySvyryd commented Apr 3, 2020

Even if there is only one entity type without inheritance mapped to a container it still has a discriminator property.

You can remove the discriminator property by calling Entity().HasNoDiscriminator()

Entity types with partition keys don't work correctly in some scenarios

See dotnet/efcore#17318

Include calls are not supported

See dotnet/efcore#16920

Join calls are not supported

See dotnet/efcore#17314

I would like to know the update/ fix on those temporary limitations.

These features are in Backlog, see our release planning process

Apart from the above limitations, Does EFCore is supporting transactions that the client has initiated like EntityFramework?

Yes, but Cosmos DB doesn't

Also, Is there any list of scenarios that don't work properly if Entities has partition?

No. This is referring to the queries that would work in-partition, but wouldn't work cross-partition and EF Core doesn't properly recognize that they are in-partition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants