Sqlite supports the SQL Standard for savepoints: https://www.sqlite.org/lang_savepoint.html. SqlClient and Npgsql expose APIs for this their DbTransaction implementation, and https://github.com/dotnet/runtime/issues/33397 tracks adding the relevant APIs in System.Data.