using System.Data; using Microsoft.Data.Sqlite; namespace FruityFoundation.DataAccess.Sqlite; public static class SqliteConnectionExtensions { public static async Task CreateTransaction(this SqliteConnection connection, IsolationLevel isolationLevel) { await connection.OpenAsync(); return connection.BeginTransaction(isolationLevel); } }