This was especially needed due to the Microsoft.Data.Sqlite backend not supporting nested transactions.