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

Cosmos: CUD batching #17308

Open
AndriySvyryd opened this issue Aug 20, 2019 · 7 comments
Open

Cosmos: CUD batching #17308

AndriySvyryd opened this issue Aug 20, 2019 · 7 comments

Comments

@AndriySvyryd
Copy link
Member

AndriySvyryd commented Aug 20, 2019

See https://github.com/Azure/azure-cosmos-dotnet-v3/blob/635cb3696490577b9fa115ec1e6f400c77c7b872/Microsoft.Azure.Cosmos.Samples/Usage/Batch/Program.cs
https://docs.microsoft.com/en-us/azure/cosmos-db/transactional-batch

https://devblogs.microsoft.com/cosmosdb/introducing-bulk-support-in-the-net-sdk/
https://devblogs.microsoft.com/cosmosdb/bulk-updates-with-optimistic-concurrency-control/

@vyarymovych
Copy link

Are there any updates?
Is it possible to persist a couple of cosmos documents in one transaction using EF Core Cosmos provider?

@roji
Copy link
Member

roji commented Jan 26, 2022

@vyarymovych this issue is in the backlog, which means it's not currently in the plan for EF Core 7.0 - please vote (:+1:) for it on the top comment, that helps us prioritize work.

@PaulOst
Copy link

PaulOst commented May 7, 2022

My feedback is that such a basic database feature, transactions, should not be in a backlog but planned for EF Core 7.0. Please reconsider. We can't use EF Core 7.0 on our projects without this capability.

@shanerogers
Copy link

We need this feature as well. The only way forward is to do state changes in our application with the CosmosClient with batches. Possibly use EF core to write queries, so we can leverage LINQ.

@rafalxyz
Copy link

Could this be prioritized please? The Cosmos provider is useless without such a basic feature. What's the point of using EF over Cosmos SDK without this feature?

@roji
Copy link
Member

roji commented Oct 29, 2023

@rafalxyz there are many reasons to use the EF provider - change tracking, optimistic concurrency, etc. For now this is in the backlog, as it gets more votes we'll consider it when planning for new features.

@rafalxyz
Copy link

rafalxyz commented Nov 1, 2023

@roji I'm sorry for that comment. I've just used the EF provider in the latest commercial project and encountered so many bugs and missing features. Change tracking didn't work as expected either. I'll create an issue with everything that is missing or can be improved.

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

No branches or pull requests

8 participants