Upgrade EF core version 3.1 to 5 with new feature SavePoints (auto created when use transaction manual)
I have a memory-optimized table in SQL Server 2016 called "Content".
When I call the "SaveChanges" command the system throws an exception "Creating a savepoint is not supported with memory optimized tables." How can I turn off savepoints ?
NOTE: If I use TransactionScope then pass success.
Please give me the solution to handle this situation https://learn.microsoft.com/en-us/ef/core/saving/transactions
I want to insert row into two table without foreign key.
in startup.cs file
In ContentService.cs file