This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
Replies: 1 comment 1 reply
-
We’ve taken a look at save points before. I don’t remember the details, but we decided against it because of specific implementation challenges. Transaction support will get a lot better once we switch over to EF Core on the client. That work is happening now, and I expect the release to be around BUILD next year. It won’t be AT BUILD, but it will be either just before or just after the event. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Because CRUD operations on on the SQLite database always use the upsert method to update the operations queue
i.e.
azure-mobile-apps/sdk/dotnet/src/Microsoft.Datasync.Client/Offline/Queue/InsertOperation.cs
Line 65 in 8d95576
This makes it hard to perform bulk operations on the local store that you may want to wrap inside a transactions in your own app, since a BEGIN transaction is used here.
Could SQLite save points be used instead and this would allow app developers to control the transactions usage better as save points support nested transactions.
UPDATE: noticed this was being discussed here: #406 (comment)
Beta Was this translation helpful? Give feedback.
All reactions